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

2 views
Skip to first unread message

akostadinov@java.net (JIRA)

unread,
Jan 23, 2020, 4:28:02 PM1/23/20
to jenkinsc...@googlegroups.com
akostadinov created an issue
 
Jenkins / New Feature JENKINS-60849
pipeline build step, wait until build is scheduled
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: pipeline-build-step-plugin
Created: 2020-01-23 21:27
Labels: pipeline
Priority: Major Major
Reporter: akostadinov

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?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages