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

Branch merging with gatekeeper and push on causes git failures with concurrent builds

Peter LaComb Aug 30, 2012

We have a plan setup to do CI - it monitors the master branch of a Git repository with branch merging enabled, using the gatekeeper strategy and we have multiple agents enabled so we can build multiple plans. This works fine when different plans are building, but bamboo will build multiple branches of a plan and invariably, one of them will not push to the remote because it is behind the tip due to the other. Bamboo should not build multiple branches that have push enabled.

2 answers

0 votes
Erik Hummel May 06, 2014

Just wondering if anyone figured this scenario out? We hit it today and are wondering how to resolve this. Right now we allocated the entire plan to only use a single remote agent to force serialization, but that is sub-optimal in scenarios where the agent is offline, etc.

0 votes
Peter LaComb May 06, 2014

We just aren't doing this anymore, especially since we're using pull requests in Stash with the auto-merge from release branches down to newer versions. We do still let Bamboo build other branches, and we require that they have 1+ successful build before we allow the merge.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Off-topic

What podcasts are you listening to right now?

Like the title says: what podcasts are in your rotation right now? Here are some favorites I've been in to from the last few weeks. The Ringer NBA Show I've been diving deep into the NBA Playoffs...

850 views 16 9
Join discussion

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