I have three different plans namely A,B and C
A - runs on Agent a
B - runs on Agent b
C - runs on Agent a
I want plan C to run only when A and B are successful. How will I do it?
This is definitely possible with the help of Dependency blocking strategy. This ensures that a "tree" of dependent builds always runs in tree hierarchy order, even if child plan builds are triggered independently of their parents.
All you need to do is to set Plan A and Plan B as a parent of Plan C and enable Block build if parent builds are queued or in progress under Plan C's Configure plan -> Dependency blocking strategy . This way, the child plan gets executed only upon successful execution of the parent plan. The Plan C will not be executed if one of the parent plans have a failed build.
Hope that helps!
G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events