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

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.

https://jira.atlassian.com/browse/BAM-14817

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,789 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