Queue build multiple times in Bamboo

Hello,

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

This widget could not be displayed.

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 Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

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