Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Trigger multiple bamboo builds for same commit branch

We have a bamboo build triggered on every commit executing both build and acceptance tests.

We now want to break this build into two bamboo builds:

- The first bamboo build will run unit and integration tests on every branch commit.

- The second bamboo build should run the acceptance tests and have the details about the original branch commit passed to it.

 

Can a bamboo build trigger a second bamboo build and have the second build checkout the same exact branch?

1 answer

0 votes
Jeyanthan I Atlassian Team Sep 21, 2017

You can split into 2 plans and make planB to be dependant on PlanA and make them dependant of each other.

That way, if the child build uses the same source as the parent build (for example, the Git URL is the same), the child build will be forced to check out the same revision of source code as the parent build. This ensures that builds are consistent when triggering one build from another.

This page helps you set up plan dependency.

You can also setup Dependency blocking strategies. 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.

Hope that helps.

Suggest an answer

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

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

694 views 1 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