How can you create a build plan that executes another build plan

I have a simple scenario I'd like to implement. Assume I have the following plans

(1) Build and Archive

(2) Deploy Archive to environment based on a parameter and depends on (1)

(3) Deploy Archive to daily environment based on daily timer and depends on (1)

The idea is that all plans need (1) to execute first so I want to be able to run (1) first thing when I run (2) or (3). Is that possible? Is there another way to accomplish this with Bamboo that makes more sense?

2 answers

CLI Plugin for Bamboo can be used with a Bamboo CLI action like queueBuild. If you use the wait parameter, it will wait for the build to complete or timeout before continuing with the original build.

Does that work for On Demand and if so is there instructions on how to install it and use it?

No, it does not work for OnDemand. Sorry, I missed that in the labels.

Build dependencies in Bamboo are configured backwards to convential thought. From a parent build you need to define the child. So (1) triggers (2) but other than a log, you won't see (2) is triggered by (1) anywhere.

Yeah, I was hoping for the more conventional approach.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,801 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you