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

Block Pipeline job while upstream or downstream projects are building

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Maybe it's just me, but I think having a possibility on Pipeline and Multibranch Pipeline projects to block execution while up- or downstream-projects are building would be beneficial, especially when migrating existing installations (see my posts in stackoverflow and in Jenkins CI).

      With Freestyle and Matrix projects there was the option of going to the "Advanced Project Options" and specify that the build should be blocked when upstream/downstream project is building. For Pipeline and Multibranch this option is unavailable, and I did not find a means of synchronizing a Pipeline/Multibranch project to existing freestyle/matrix projects without orchestrating this in another pipeline script. However, having to do that with an installation of about 400 inter-dependent projects is a huge block of work that has to be sorted out in one go. Having those "block when upstream/downstream project is building" options would allow for a gradual and smoother migration.

        Attachments

          Issue Links

            Activity

            vgimple Volker Gimple created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]
            abayer Andrew Bayer made changes -
            Labels blocking downstream pipeline upstream workflow blocking downstream pipeline upstream
            vgimple Volker Gimple made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            jglick Jesse Glick made changes -
            Component/s workflow-job-plugin [ 21716 ]
            Component/s pipeline [ 21692 ]
            Component/s workflow-multibranch-plugin [ 21465 ]
            jglick Jesse Glick made changes -
            Labels blocking downstream pipeline upstream blocking downstream upstream
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-29913 [ JENKINS-29913 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            laeubi Christoph Läubrich made changes -
            Link This issue relates to JENKINS-52203 [ JENKINS-52203 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                vgimple Volker Gimple
              • Votes:
                26 Vote for this issue
                Watchers:
                35 Start watching this issue

                Dates

                • Created:
                  Updated: