Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31895

Mark many nodes as temporarily offline at once

    XMLWordPrintable

    Details

    • 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.

        Attachments

          Activity

          Hide
          mawinter69 Markus Winter added a comment -

          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.

          Show
          mawinter69 Markus Winter added a comment - 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.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            edef Enrico De Fent
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: