Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Hi! 

 

I hope the latest version 6.8.0 will cover your request

https://confluence.atlassian.com/bamboo/bamboo-releases-671089224.html

Where includes hung build killer as built-in :)

 

Cheers,

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.

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.

@serefbulbul Unfortunately not.

Suggest an answer

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

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

673 views 1 6
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