How can I add a manual stage to a build queue?

We have a deployment job in a build plan which is configured as a manual stage. Our problem is that usually more changes are committed to the source code repository before the latest build has finished, so there's nearly always a compilation or automated tests running. Thus, when we click the button to execute the manual stage and deploy, we get the error "Build requested but not started, you have reached the maximum number of concurrent builds allowed.".

I see the Administration option to allow concurrent builds, and this may help us in some situations, but that's really dependant on how many agents we can configure to run concurrent builds, and hope that we can stay ahead of the commits somehow.

Ideally, we'd like to be able to "queue" the deploy stage, but that doesn't seem to be possible. Or have I missed an option somewhere?

1 answer

0 vote

If you enable/bump up concurrent build setting, the build will be queued if there are no agents available. Try it, I think it will do what you want. You can also enable that per plan.

I enabled concurrent builds and allowed two concurrent builds. So now I have two Compile / Test stages running and I still can't run my deploy stage. Are you suggesting I just keep increasing the allowed number of concurrent builds? We have 5 agents on this server, and we share it with other teams. I don't think we would be very popular if we clogged up all the agents with concurrent builds of our project, just so that we have enough bandwidth to manually start a deploy stage.

This is not a solution.

Bernie, would something like this feature request help you in your situation?

Sort of. We can already do that by setting Server Capabilities and Plan Requirements. But then we lose the advantage of being able to run the build on whatever agent is available. It's a band-aid on top of a band-aid on top of a problem.

Should I create a new Feature Request, because from what you're saying what I want to do isn't possible, and it's not that I've missed an option somewhere..?

If it doesn't work for you please feel free to create a feature request :)

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,096 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