Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to stop ongoing build when a new one is scheduled

In our setup, we are able to run only single build at the time (due to the deployment setup). I have set a max concurrent builds param to 1.

We happen to have multiple PRs merged around the same time, hence there may be new changes coming, while the build is ongoing. Then we have to wait until current build finishes and the next one starts (polling for changes).

I am missing/looking for a way to stop ongoing builds if the new one is scheduled. Is there a way to do that?

1 answer

0 votes



I hope the latest version 6.8.0 will cover your request

Where includes hung build killer as built-in :)



Gonchik Tsymzhitov

I am not sure I understand how that would solve it. 

I meant, that if there are coming changes during ongoing build, I would like the current build to stop, and new one to be triggered.

Like Stanislav Panchenko likes this

Hey @maclun , did you find any way to do what you want? That is also what I am looking for.


If there are multiple pushes to branch, they all create separated builds on the queue. However, we only care about the last build with the latest changes.

Like Stanislav Panchenko likes this

@serefbulbul Unfortunately not.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

964 views 3 8
Read article

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