Bamboo child plan triggering - multiple parent plans successful builds

I would like to trigger child plan where multiple parents have successfully built the plans.

I can trigger child plan based on one parent successfully built but I would like to add dependency for 2 parents.

Can someone from the community help to solve this issue?

 

1 answer

0 votes
Bill Carreon Atlassian Team Apr 30, 2018

HI Pankaj,

 

If you need a plan to trigger, let’s call this plan C after 2 other plans have successfully run, let’s call these Plan A and Plan B, you can set up a daisy-chain dependency. That is to say that you can have Plan B run if Plan A is successful, then trigger Plan C on Plan B’s success,

 

Plan A -> Plan B -> Plan C

 

This will ensure Plan C is run only if Plan A and Plan B have been successfully executed.

 

Best Regards,

Bill

Hi @Bill Carreon,

is this the only possible solution for this kind of problem? Because if you're having multiple parent dependencies, like 20-something, the chain gets really long and slow. Also parallelism with mutliple agents isn't possible.

We tried setting "Dependency blocking strategy" to "Block build if parent plans have unbuilt changes " (which I think only works for code commits), as well as "Trigger conditions" set to "Only run Build if other Plans are currently passing" (and provided a list of all parent plan keys). Both doesn't seem to resolve this problem of depending on ALL parent plans being green.

If it's not possible to achieve this right now, is there anything planned in the future?

Thanks and Best Regards,

Felix

PS: We're using bamboo 6.2.5

Any update on this? We have a similar issue where we have multiple modules that get built, and a child plan that puts together a docker image pulling in artifacts from all the parent builds. We would like to have the docker image built only once after *all* the parents complete building, not after each individual one

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

158 views 3 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