Skip to content

[JENKINS-44589] Missing calls to Jenkins.cleanUp #22114

Closed

Description

@jenkins-infra-bot

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.


Originally reported by jglick, imported from: Missing calls to Jenkins.cleanUp
  • assignee: jglick
  • status: Resolved
  • priority: Minor
  • component(s): core
  • label(s): 2.60.2-fixed
  • resolution: Fixed
  • resolved: 2017-06-03T08:59:01+00:00
  • votes: 0
  • watchers: 2
  • imported: 2025-11-24
Raw content of original issue

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.

Activity

  1. jenkins-infra-bot commented on May 31, 2017

    @jenkins-infra-bot
    Author
    • Remote link associated with this issue:

  2. jenkins-infra-bot commented on May 31, 2017

    @jenkins-infra-bot
    Author
    jglick:

    Similar to JENKINS-32820.

  3. jenkins-infra-bot commented on Jun 3, 2017

    @jenkins-infra-bot
    Author
    scm_issue_link:

    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: 59ae1f6...0ec2508

  4. jenkins-infra-bot commented on Jun 3, 2017

    @jenkins-infra-bot
    Author
    danielbeck:
    • Original comment link
    • Raw content of original comment:

      Fixed towards 2.64.

    Fixed towards 2.64.

  5. jenkins-infra-bot commented on Aug 2, 2017

    @jenkins-infra-bot
    Author
    chrismahoneyboprc:
    • Original comment link
    • Raw content of original 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?

    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?

  6. jenkins-infra-bot commented on Aug 3, 2017

    @jenkins-infra-bot
    Author
    jglick:

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

  7. jenkins-infra-bot commented on Oct 27, 2017

    @jenkins-infra-bot
    Author
    scm_issue_link:

    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 0ec2508)

  8. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions