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

pipeline build step, wait until build is scheduled

      I need to easily navigate between upstream and downstream builds. Presently it is easy to navigate from downstream to upstream build because downstream build has upstream build as a cause. But navigating from upstream to downstream build is complicated when `wait: false` is used in the build step.

      When `wait` it is set to false, a build is triggered. But there is no way for the pipeline to know which build that was.

      When `wait` is false, the returned value is `org.codehaus.groovy.runtime.NullObject`.

      What will be useful is to have a parameter where build is triggered, then step waits until it has an id and returns only then.

      Or is there any other easy way to figure out triggered builds?

          [JENKINS-60849] pipeline build step, wait until build is scheduled

          Stuart Rowe added a comment -

          Stuart Rowe added a comment - https://github.com/jenkinsci/pipeline-build-step-plugin/pull/105

            stuartrowe Stuart Rowe
            akostadinov akostadinov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: