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

Very small window Race condition where a pipeline job could have run and created logs but not created a build.xml

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • workflow-job-plugin
    • None

      If you start a new build and then immediately kill Jenkins, it will create a log and a folder for the build but it will not create a build.xml to properly resume when Jenkins comes back up.

       

      After talking with Jesse it looks like the relevant code is here: https://github.com/jenkinsci/workflow-job-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/job/WorkflowRun.java#L222 where we should be calling a save() to initially create a build.xml earlier that way it can resume properly.

          [JENKINS-43859] Very small window Race condition where a pipeline job could have run and created logs but not created a build.xml

          There are no comments yet on this issue.

            Unassigned Unassigned
            ataylor Alex Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: