• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      Jenkins failed to perform some cleanup tasks, including saving the build queue, if stopped via REST /exit ~ CLI shutdown, or when restarting from Install as Windows Service.

          [JENKINS-44589] Missing calls to Jenkins.cleanUp

          Jesse Glick added a comment -

          Similar to JENKINS-32820.

          Jesse Glick added a comment - Similar to  JENKINS-32820 .

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/java/hudson/lifecycle/WindowsInstallerLink.java
          core/src/main/java/jenkins/model/Jenkins.java
          http://jenkins-ci.org/commit/jenkins/0ec25081ee5bc6c547632790cd258fa0b6fbcac6
          Log:
          Merge pull request #2908 from jglick/cleanUp

          JENKINS-44589 Adding some missing calls to cleanUp

          Compare: https://github.com/jenkinsci/jenkins/compare/59ae1f69fc6e...0ec25081ee5b

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/lifecycle/WindowsInstallerLink.java core/src/main/java/jenkins/model/Jenkins.java http://jenkins-ci.org/commit/jenkins/0ec25081ee5bc6c547632790cd258fa0b6fbcac6 Log: Merge pull request #2908 from jglick/cleanUp JENKINS-44589 Adding some missing calls to cleanUp Compare: https://github.com/jenkinsci/jenkins/compare/59ae1f69fc6e...0ec25081ee5b

          Daniel Beck added a comment -

          Fixed towards 2.64.

          Daniel Beck added a comment - Fixed towards 2.64.

          Chris Mahoney added a comment -

          Is there something special that needs to be done to get this working? I updated to LTS 2.60.2, added a build to the queue, restarted the Windows service... and the queue got cleared. What's the "trick" for making the queue persist?

          Chris Mahoney added a comment - Is there something special that needs to be done to get this working? I updated to LTS 2.60.2, added a build to the queue, restarted the Windows service... and the queue got cleared. What's the "trick" for making the queue persist?

          Jesse Glick added a comment -

          chrismahoneyboprc probably a shutdown from the Windows service does not shut down Jenkins cleanly. Not sure, not tested. Tracked as JENKINS-30909.

          Jesse Glick added a comment - chrismahoneyboprc probably a shutdown from the Windows service does not shut down Jenkins cleanly. Not sure, not tested. Tracked as  JENKINS-30909 .

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/java/hudson/lifecycle/WindowsInstallerLink.java
          core/src/main/java/jenkins/model/Jenkins.java
          http://jenkins-ci.org/commit/jenkins/92a3e42068c5c54c2861d73d3c2e5fe0c5b64f39
          Log:
          Merge pull request #2908 from jglick/cleanUp

          JENKINS-44589 Adding some missing calls to cleanUp

          (cherry picked from commit 0ec25081ee5bc6c547632790cd258fa0b6fbcac6)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/lifecycle/WindowsInstallerLink.java core/src/main/java/jenkins/model/Jenkins.java http://jenkins-ci.org/commit/jenkins/92a3e42068c5c54c2861d73d3c2e5fe0c5b64f39 Log: Merge pull request #2908 from jglick/cleanUp JENKINS-44589 Adding some missing calls to cleanUp (cherry picked from commit 0ec25081ee5bc6c547632790cd258fa0b6fbcac6)

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: