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.

https://confluence.atlassian.com/display/BAMBOO052/Setting+up+plan+build+dependencies

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
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

133 views 3 4
Join discussion

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