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

Queue isn't saved on any shutdown

    XMLWordPrintable

Details

    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

          Activity

            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-34281

            JENKINS-34281 Indicate if we are still sleeping after a resume

            Compare: https://github.com/jenkinsci/workflow-basic-steps-plugin/compare/7360c8d48bdb...f79ae94a60cf

            scm_issue_link SCM/JIRA link daemon added a comment - 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-34281 JENKINS-34281 Indicate if we are still sleeping after a resume Compare: https://github.com/jenkinsci/workflow-basic-steps-plugin/compare/7360c8d48bdb...f79ae94a60cf

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionList.java
            http://jenkins-ci.org/commit/workflow-api-plugin/f749920b37b7fcd3ecc1d5e85433c50a0a910cd4
            Log:
            Merge pull request #4 from jglick/FlowExecutionList-JENKINS-34281

            JENKINS-34281 More logging about what happens when loading FlowExecutionList

            Compare: https://github.com/jenkinsci/workflow-api-plugin/compare/ac98823111be...f749920b37b7

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionList.java http://jenkins-ci.org/commit/workflow-api-plugin/f749920b37b7fcd3ecc1d5e85433c50a0a910cd4 Log: Merge pull request #4 from jglick/FlowExecutionList- JENKINS-34281 JENKINS-34281 More logging about what happens when loading FlowExecutionList Compare: https://github.com/jenkinsci/workflow-api-plugin/compare/ac98823111be...f749920b37b7

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java
            http://jenkins-ci.org/commit/workflow-job-plugin/5c8499e19aae9a47207cde1072b1775230edf15b
            Log:
            JENKINS-34281 More general fix of CpsFlowExecution.suspendAll ACL bug which could help with InputAction.loadExecutions as well.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java http://jenkins-ci.org/commit/workflow-job-plugin/5c8499e19aae9a47207cde1072b1775230edf15b Log: JENKINS-34281 More general fix of CpsFlowExecution.suspendAll ACL bug which could help with InputAction.loadExecutions as well.

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java
            http://jenkins-ci.org/commit/workflow-job-plugin/baf8f40be50d83ef1574f7470c399b2952bcb95b
            Log:
            Merge pull request #11 from jglick/Owner-ACL-JENKINS-34281

            JENKINS-34281 More general fix of CpsFlowExecution.suspendAll ACL bug

            Compare: https://github.com/jenkinsci/workflow-job-plugin/compare/e94fd55ee4f5...baf8f40be50d

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java http://jenkins-ci.org/commit/workflow-job-plugin/baf8f40be50d83ef1574f7470c399b2952bcb95b Log: Merge pull request #11 from jglick/Owner-ACL- JENKINS-34281 JENKINS-34281 More general fix of CpsFlowExecution.suspendAll ACL bug Compare: https://github.com/jenkinsci/workflow-job-plugin/compare/e94fd55ee4f5...baf8f40be50d

            Code changed in jenkins
            User: Jesse Glick
            Path:
            job/src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java
            http://jenkins-ci.org/commit/pipeline-plugin/20ad6a2e677764ec3e38d81c3e058f0070591a8c
            Log:
            JENKINS-34281 More general fix of CpsFlowExecution.suspendAll ACL bug
            Backports https://github.com/jenkinsci/workflow-job-plugin/pull/11.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: job/src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java http://jenkins-ci.org/commit/pipeline-plugin/20ad6a2e677764ec3e38d81c3e058f0070591a8c Log: JENKINS-34281 More general fix of CpsFlowExecution.suspendAll ACL bug Backports https://github.com/jenkinsci/workflow-job-plugin/pull/11 .

            People

              svanoort Sam Van Oort
              kwhetstone Kristin Whetstone
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: