Missed Team ’24? Catch up on announcements here.

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

How to stop ongoing build when a new one is scheduled

maclun October 3, 2018

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
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 10, 2019

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

maclun July 3, 2019

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
serefbulbul January 7, 2020

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
maclun January 7, 2020

@serefbulbul Unfortunately not.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events