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

Add support for changeOfflineCause on nodes

    Details

    • Similar Issues:

      Description

      It would be nice to be able to set or change the offline cause for nodes, so users can see why nodes are marked as offline.

      Like this

      ComputerWithDetails computer = ...
      if (!computer.getOffline()){
        computer.toggleOffline();
        computer.changeOfflineCause("Scheduled for termination");
      }
      

        Attachments

          Activity

          Hide
          jnt Jesper Terkelsen added a comment -
          Show
          jnt Jesper Terkelsen added a comment - I opened a PR on this:  https://github.com/jenkinsci/java-client-api/pull/281

            People

            • Assignee:
              khmarbaise Karl-Heinz Marbaise
              Reporter:
              jnt Jesper Terkelsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: