Triggering a dependent plan to finish before continuing on current plan.

I have two plans in bamboo, library plan and application plan.

Application plan depends on library plan, and copies over its artifact. When I trigger App plan to build, I'd like it to build library plan first before copying over the artifact.

I know I can make library plan a "parent" of application plan, but then I have to trigger library plan first when building application. Library plan should not have to know about application plan.

I just want to be able to trigger Application plan and have it automagically build library plan. Is this possible?

1 answer

1 accepted

1 vote
Accepted answer

For your scenario you might consider using Artifact Downloader Task that will download selected artifacts from the latest build of a given plan to your working directory. Considering that library plan builds after each change of library code this should provide most recent version of library to your application plan.

Not a bad idea! I'm currently using the artifact copy; I wash hoping there would be an option to say "build artifact first" so that I'm guaranteed a fresh copy.

The library plan is set to manual. I suppose I could just set it to build with triggers, but I’d be nice if the App plan could just trigger it itself.

Thank you!

...created a jira ticket requesting this behavior.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

452 views 2 5
View question

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