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

Scheduled restart from plugin manager does not restart

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core

      In a trunk build I updated a plugin and checked the box asking to restart as soon as no jobs were running. The log file said that Jenkins was scheduled to restart, but I waited the usual ten seconds and nothing happened. I had to go /restart and force it.

      I think https://github.com/jenkinsci/jenkins/pull/795 may have introduced a regression here.

          [JENKINS-18384] Scheduled restart from plugin manager does not restart

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          core/src/main/java/hudson/model/RestartListener.java
          http://jenkins-ci.org/commit/jenkins/9108ab7a932883f0adeb838744c7367dadd3d9db
          Log:
          [FIXED JENKINS-18384]

          Not recording in the changelog as the regression isn't released yet.

          Compare: https://github.com/jenkinsci/jenkins/compare/bcce421513e0...9108ab7a9328

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: core/src/main/java/hudson/model/RestartListener.java http://jenkins-ci.org/commit/jenkins/9108ab7a932883f0adeb838744c7367dadd3d9db Log: [FIXED JENKINS-18384] Not recording in the changelog as the regression isn't released yet. Compare: https://github.com/jenkinsci/jenkins/compare/bcce421513e0...9108ab7a9328

          dogfood added a comment -

          Integrated in jenkins_main_trunk #2645
          [FIXED JENKINS-18384] (Revision 9108ab7a932883f0adeb838744c7367dadd3d9db)

          Result = SUCCESS
          kohsuke : 9108ab7a932883f0adeb838744c7367dadd3d9db
          Files :

          • core/src/main/java/hudson/model/RestartListener.java

          dogfood added a comment - Integrated in jenkins_main_trunk #2645 [FIXED JENKINS-18384] (Revision 9108ab7a932883f0adeb838744c7367dadd3d9db) Result = SUCCESS kohsuke : 9108ab7a932883f0adeb838744c7367dadd3d9db Files : core/src/main/java/hudson/model/RestartListener.java

            ndeloof Nicolas De Loof
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: