Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

how to make common steps with variables



Is it possible to configure multiple build plans that triggered to one deployment plan match using variables or parameters rather than triggering one build plan and one deployment plan?

I want to configure bamboo like below



3 build plans --> 3 deployment plan

a build , artifact name : aaa.war --> a deployment directory : /apps/a/aaa.war
b build , artifact name : bbb.war --> b deployment directory : /apps/b/bbb.war

c build , artifact name : ccc.war --> c deployment directory : /apps/c/ccc.war


3 build plans  --> only one deployment plan
using variabes in a build / var=a , artifact_name=aaa.war
using variabes in b build / var=b , artifact_name=bbb.war

using variabes in c build / var=c , artifact_name=ccc.war

deployment plan
${artifact_name} --> ${var} deployment directory : /apps/${var}/${artifact_name}


Thank you for your help.

1 answer

0 votes
Jimmy Seddon Community Leader Sep 26, 2019

Hi @송진택,

Welcome to the Community!

I'm not going to say this is the best option.  But, the way we accomplished this was to make a single build plan "D" that downloaded the artifacts from A, B & C and re-published them so that the deployment plan would have access to the artifacts from all three plans, but still had the one to one mapping from build plan D.

I'm not sure of any other way to accomplish this, but this is one option as a workaround.

I hope that helps!


Thank you for your help!!

I have one more question.


Is there a way to trigger from build A,B,C to build D ??

using cli?? plugin??

Jimmy Seddon Community Leader Sep 30, 2019

It's actually Core functionality within the build plan itself.  On plans A, B and C configure the plans and go to the "Dependencies" tab.  There you can specify a "Child Plan", which actually means a plan you would like to automatically trigger once the current one passes successfully.BuildPlanDependencies.JPG

At that point any time plan A, B or C runs, it will automatically run plan D to get the latest artifacts from those plans.

I hope that helps!


Thank you for your help . i really appreciate your help

I have another question 

How can I trigger variable values??


for example , I defined  artifact_name=test.war in plan A (or plan configuration --> variables tab)

I don't know how to get this value in plan D and deployment plan 

Thank you for your kind reply

Jimmy Seddon Community Leader Oct 01, 2019

I'm not sure that this is possible at the moment.  if you look at:

It references an open feature request for the functionality you are looking for:

Sorry I can't be of more help on that one.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

964 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you