Details
-
Bug
-
Status: Resolved (View Workflow)
-
Critical
-
Resolution: Fixed
-
Jenkins 2.0-rc
Java 8
Windows 10 x64, MacOS X
Description
When Jenkins is stopped, the queue file is created except it's empty. No information about the running jobs or jobs pending in the queue exist.
It essentially saves a file like:
<?xml version='1.0' encoding='UTF-8'?>
<hudson.model.Queue_-State>
<counter>42</counter>
<items/>
</hudson.model.Queue_-State>
This behavior is a regression from Jenkins 2.0 beta2.
Attachments
Issue Links
- is duplicated by
-
JENKINS-34256 Preparing Jenkins For Shutdown Hangs Running Pipelines
-
- Resolved
-
-
JENKINS-35213 Canceling a Parallel step make the build hang
-
- Resolved
-
- is related to
-
JENKINS-33926 Jenkins no longer appears to shutdown correctly
-
- Resolved
-
-
JENKINS-30909 queue.xml only gets persisted on successful shutdown
-
- Resolved
-
- relates to
-
JENKINS-32820 Queue is not persisted on Safe Restart when Jenkins is installed as Windows Service (clean up is not performed)
-
- Resolved
-
- links to
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/org/jenkinsci/plugins/workflow/steps/SleepStep.java
http://jenkins-ci.org/commit/workflow-basic-steps-plugin/f79ae94a60cfcd62d9248e893c4a36573b7d1c61
Log:
Merge pull request #8 from jglick/sleep-info-
JENKINS-34281JENKINS-34281Indicate if we are still sleeping after a resumeCompare: https://github.com/jenkinsci/workflow-basic-steps-plugin/compare/7360c8d48bdb...f79ae94a60cf