Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo parent build passing variables to dependent child?

Deleted user January 27, 2015

Are there any other dependency variables besides depth and parent key?  I'm very interested in passing credentials in build variables to a child build.

 

thanks,

 

ed

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Lee Tarrant
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2015

Just googling for this also, keen to hear the response.

0 votes
hmozaffari August 2, 2019

Bamboo at this moment doesn't offer this feature. 

I simulated it by using Bamboo's rest API and fire a child build and passing parameters to it. Put a curl command in a task in your parent plan to invoke the child plan:

curl -d "bamboo.Param1=P1&bamboo.Param2=P2" -X POST --user userid:password "https://{SERVER_NAME}/rest/api/latest/queue/{PROJECT_NAME}-{PLAN_NAME}?executeAllStages=true"

The only disadvantage is the REST call just put it inside the queue and doesn't wait for execution of child task. So if child plan fails it won't notify parent plan.

0 votes
Dawei Wang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 7, 2016

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events