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

WorkflowJob not reliably started from ReverseBuildTrigger after restart

      Pipeline projects are sometimes not triggered when using Build after other projects are built -> Projects to watch under a restart.

      To re-produce the issue, you need to create three projects:

      • test-a: simple freestyle project without anything
      • test-b: pipeline-project with Build after other projects are built -> Projects to watch: test-a
      • test-c: simple freestyle project with Build after other projects are built -> Projects to watch: test-a

      Then, without the build-failure-analyzer plugin installed build several times test-a and you see that test-b and test-c are correctly triggered. Restart the instance several times and re-test - everything works.

      Now, install build-failure-analyzer plugin - latest release or previous ones as I can re-produce with several ones - restart the instance and build test-a, now test-b might not be triggered. If it is triggered, restart the instance and build test-a until test-b doesn't get triggered.

      I did the effort of change on the code all AbstractBuild per Run and AbstractProject per Job on the buildAnalizer plugin, but the problem is still reproducible.

          [JENKINS-33971] WorkflowJob not reliably started from ReverseBuildTrigger after restart

          Félix Belzunce Arcos created issue -
          Félix Belzunce Arcos made changes -
          Assignee Original: Félix Belzunce Arcos [ fbelzunc ] New: Tomas Westling [ t_westling ]
          Félix Belzunce Arcos made changes -
          Labels New: pipeline
          Jesse Glick made changes -
          Labels Original: pipeline New: workflow
          Jesse Glick made changes -
          Assignee Original: Tomas Westling [ t_westling ] New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Component/s New: cloudbees-folder-plugin [ 18137 ]
          Component/s Original: build-failure-analyzer-plugin [ 17224 ]
          Jesse Glick made changes -
          Summary Original: Pipeline projects are sometimes not triggered when using Build after other projects are built -> Projects to watch New: WorkflowJob not reliably started from ReverseBuildTrigger after restart
          Jesse Glick made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: cloudbees-folder-plugin [ 18137 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 2207 (Web Link)" [ 14152 ]
          Jesse Glick made changes -
          Labels Original: workflow New: lts-candidate workflow

            jglick Jesse Glick
            fbelzunc Félix Belzunce Arcos
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: