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

          akostadinov created issue -
          Stuart Rowe made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Stuart Rowe made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          Stuart Rowe added a comment -

          Stuart Rowe added a comment - https://github.com/jenkinsci/pipeline-build-step-plugin/pull/105
          Roman Zwi made changes -
          Link New: This issue relates to JENKINS-31392 [ JENKINS-31392 ]
          Stuart Rowe made changes -
          Assignee New: Stuart Rowe [ stuartrowe ]
          Stuart Rowe made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Stuart Rowe made changes -
          Released As New: https://github.com/jenkinsci/pipeline-build-step-plugin/releases/tag/486.vd08f550cceee
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: