Pipeline support for Last Build Node Column#102
Conversation
mawinter69
left a comment
There was a problem hiding this comment.
adding this here makes sense for me.
Some comment about the UI. I would always only show just 1 agent and add a small down chevron, when there are more agents that when clicked opens the full list. Like it is done in pipeline-agent-history, needs some javascript though
Sound great! I was wondering how to display that and that's great idea. Thanks |
I did it like you suggested and I think it doesn't loot too bad :) |
|
Hi @mawinter69 @fredg02 |
mawinter69
left a comment
There was a problem hiding this comment.
See also jenkinsci/sig-ux#25 regarding the wording
From the screenshots it looks as if the button to open/close the agents is not properly aligned
yes I completely agree that it's total mess regarding naming it. Should I change it to agent in all occurences in this plugin ? |
Co-authored-by: Markus Winter <m.winter@sap.com>
2097ec9 to
726759b
Compare
|
I found out that there is issue for this functionality in built-on-column-plugin#69 which was reported in 2016. Maybe this column should be recommended for users ? Or built-on should be deprecated ? 🤔 |
|
Hi @fredg02 could you review this for me ? |
|
@mawinter69 is there some process to deprecate plugin ? I checked and there are 2 plugins which implement this exact column and without support for pipelines: I think both of them are not as maintained as this plugin. |
|
https://plugins.jenkins.io/nodenamecolumn/ is another implementation of SlaveOrLabelColumn so this is different |
This PR introduces implementation of Last Build Node to the pipelines
It's based on the plugin pipeline-agent-build-history which adds HistoryAction which stores information about agents.
Usage of this plugin is optional, and if someone doesn't have it Last Build Node won't display information.
I also renamed Node/node/nodes to Agent/agent/agents in strings - see sig-ux#25
Here is example how it looks:
Testing done
I tested this change locally by connecting 2 nodes, then I created simple pipelines with following setup:
For all those scenarios agents where displayed correctly. For freestyle jobs it looks the same as before change.
Submitter checklist