• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • java-client-api
    • None

      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");
      }
      

          [JENKINS-46472] Add support for changeOfflineCause on nodes

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

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

              Created:
              Updated: