You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
Hi Sino,
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!
Right, it sounds the right way
All we need is to set Plan C as child plan for Plan A and for plan B
https://confluence.atlassian.com/bamboo/setting-up-plan-build-dependencies-289276887.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@sintoanto as far as i know, you can only trigger one plan
Let 's say plan A runs finish, it can trigger plan B as a child plan (you can define this in Dependency tab)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sino,
Thanks for your question!
I don't think that's functionally possible to achieve in Bamboo unless you want to script it somehow.
Thanks,
Robhit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.