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

marking a slave as "offline" doesn't persist across restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      currently Hudson doesn't remember between restarts that a slave is marked as "offline". It'll be useful to have this information saved.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nathan Parry
          Path:
          core/src/main/java/hudson/model/Computer.java
          core/src/main/java/hudson/model/Node.java
          http://jenkins-ci.org/commit/core/a88920aab7b1e35c24b4adb7a297bd04d35ed9a3
          Log:
          Fix JENKINS-8196

          Persist a user-requested offline status for a slave across
          restarts. Previously slaves would come back online if the server
          was restarted while they were marked 'temporarily offline'.

          I believe this also addresses JENKINS-7934 and JENKINS-7805
          which look like duplicates.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nathan Parry Path: core/src/main/java/hudson/model/Computer.java core/src/main/java/hudson/model/Node.java http://jenkins-ci.org/commit/core/a88920aab7b1e35c24b4adb7a297bd04d35ed9a3 Log: Fix JENKINS-8196 Persist a user-requested offline status for a slave across restarts. Previously slaves would come back online if the server was restarted while they were marked 'temporarily offline'. I believe this also addresses JENKINS-7934 and JENKINS-7805 which look like duplicates.
          Hide
          nparry Nathan Parry added a comment -

          The fix is included in 1.397

          Show
          nparry Nathan Parry added a comment - The fix is included in 1.397
          Hide
          nparry Nathan Parry added a comment -

          I didn't get around to upgrading until 1.399, but I've confirmed that the fix works in 1.399 so I'm closing this issue.

          Show
          nparry Nathan Parry added a comment - I didn't get around to upgrading until 1.399, but I've confirmed that the fix works in 1.399 so I'm closing this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              hhuynh hhuynh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: