Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to run a plan after two different plans are built successfully?

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?

3 answers

0 votes
robhit Atlassian Team Apr 03, 2018

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

0 votes
Minh Tran Atlassian Team Apr 05, 2018

@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)

0 votes

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!

Minh Tran Atlassian Team Apr 10, 2018

 

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

227 views 4 6
Read article

Community Events

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

Events near you