pass parameter from build A to build B in the chain

Hi,

let's say i have build A with configuration parameter "name" and this parameter prompted (pop up) to the user to enter value when Build A triggered.

build B "trigger configuration" set to be triggered after build A finished, i want to use the parameter "name" in build B (originally entered by the user when triggered build A).

just to make clear, build B is not dependent on build A but only triggered after A finished

is it possible? what is the syntax for the parameter use in build B?

 

0
1 comment

Hi Shor,

 

I would like to ask you about the use case in your scenario, as this seems pretty strange. You want B to trigger after A, and to pick up a parameter that has been put up on that very specific run of A, but do not set up a dependency? What's the reasoning behind not having a dependency?

 

The only way to access this would be via the REST API, accessing the appropriate build from A and picking up the parameter. The issue being that if, in the meantime, another build of A has run, you might not get the appropriate value, while a dependency would guarantee it.

0

Please sign in to leave a comment.