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

1 votes

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot