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
Answer accepted

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
Published Wednesday in Opsgenie

Getting the Most out of Atlassian and Opsgenie Together

We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...

68 views 0 1
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