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

Missing calls to Jenkins.cleanUp

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Similar to JENKINS-32820.

            Show
            jglick Jesse Glick added a comment - Similar to  JENKINS-32820 .
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            Hide
            danielbeck Daniel Beck added a comment -

            Fixed towards 2.64.

            Show
            danielbeck Daniel Beck added a comment - Fixed towards 2.64.
            Hide
            chrismahoneyboprc 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?

            Show
            chrismahoneyboprc 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?
            Hide
            jglick Jesse Glick added a comment -

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

            Show
            jglick Jesse Glick added a comment - Chris Mahoney probably a shutdown from the Windows service does not shut down Jenkins cleanly. Not sure, not tested. Tracked as  JENKINS-30909 .
            Hide
            scm_issue_link 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)

            Show
            scm_issue_link 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)

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: