Queue build multiple times in Bamboo


I am facing an issue with queueing a build multiple times - Bamboo just does not want to queue builds. It happens in two scenarios:

Repository triggers the build when changes are commited + Stash post receive webhooks - suppose there are two commits, the first one triggers the build, the second happens when Bamboo is still building the previous commit. Then the second commit is not built.

Trigger by a parent plan + Maven Dependencies Processor - suppose there are two plans that trigger a child plan. The first parent plan finishes and triggers the child plan, the second parent plan finishes when the child plan is building due to the first parent. What happens is that the child plan is not built for the second time.

Is there any way to convince Bamboo to queue builds and build every trigger? I am using Bamboo 5.4.2 build 4208

1 answer

1 accepted

1 vote
Accepted answer

I think you need to enable 'concurrent builds'.

You can do it in Administration -> Plans -> Concurrent builds. There you set the maximum number of builds triggered at the same time for a single plan.

You can override the global setting on per-plan basis in plan configuration, 'miscellaneous' tab.

But this means that the builds will run simultaneously on two agents. It will produce errors as the builds are using jgitflow plugin with automated merges to release maven artifacts. Is there any way to make them run in order of the triggers?

In Bamboo 5.6 you can limit build(s) to specific agent(s). It's not the optimum solution (it's specific agent rather than 'whichever is free but no more than one') but that's the best that is supported 'out-of-the-box'.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

77 views 3 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you