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

WorkflowJob not reliably started from ReverseBuildTrigger after restart

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            fbelzunc Félix Belzunce Arcos created issue -
            fbelzunc Félix Belzunce Arcos made changes -
            Field Original Value New Value
            Assignee Félix Belzunce Arcos [ fbelzunc ] Tomas Westling [ t_westling ]
            fbelzunc Félix Belzunce Arcos made changes -
            Labels pipeline
            jglick Jesse Glick made changes -
            Labels pipeline workflow
            jglick Jesse Glick made changes -
            Assignee Tomas Westling [ t_westling ] Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Component/s cloudbees-folder-plugin [ 18137 ]
            Component/s build-failure-analyzer-plugin [ 17224 ]
            jglick Jesse Glick made changes -
            Summary Pipeline projects are sometimes not triggered when using Build after other projects are built -> Projects to watch WorkflowJob not reliably started from ReverseBuildTrigger after restart
            jglick Jesse Glick made changes -
            Component/s core [ 15593 ]
            Component/s cloudbees-folder-plugin [ 18137 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 2207 (Web Link)" [ 14152 ]
            jglick Jesse Glick made changes -
            Labels workflow lts-candidate workflow
            jglick Jesse Glick made changes -
            Remote Link This issue links to "workflow-plugin PR 374 (Web Link)" [ 14153 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            olivergondza Oliver Gondža made changes -
            Labels lts-candidate workflow 1.651.2-fixed workflow
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 169982 ] JNJira + In-Review [ 198754 ]
            abayer Andrew Bayer made changes -
            Labels 1.651.2-fixed workflow 1.651.2-fixed pipeline workflow
            abayer Andrew Bayer made changes -
            Labels 1.651.2-fixed pipeline workflow 1.651.2-fixed pipeline
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-36612 [ JENKINS-36612 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: