Details
-
Type:
New Feature
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: plugin-proposals
-
Labels:
-
Similar Issues:
Description
It would be useful to be able to mark many nodes offline with a single action from the page which lists available nodes.
AFAIK, the user currently (version 1.639) needs to select a node, request to mark it as offline, confirm the action (optionally specifying a reason), then navigate back to the nodes list and repeat the process for the rest of the nodes.
Maybe JENKINS-31163 also addresses this use case.
You could write a system groovy script that takes a label expression as parameter. Then you can loop over the list of nodes and take them temporarily offline.
The job might wait until all nodes have finished before it ends.
The script could be also used to take the nodes online again.