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

Block Pipeline job while upstream or downstream projects are building

      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.

          [JENKINS-37718] Block Pipeline job while upstream or downstream projects are building

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

            Unassigned Unassigned
            vgimple Volker Gimple
            Votes:
            32 Vote for this issue
            Watchers:
            39 Start watching this issue

              Created:
              Updated: