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 build stages with REST API?

zoredd February 12, 2018

I found this method, but it just stops whole build. Stages keep on running till the end.

2 answers

1 vote
Stanislav Panchenko July 12, 2021

It seems a bug in Bamboo Rest API. The behavior of "Actions --> Stop job" is different from the Rest API call.  We use Bamboo 6.9 and +.inlineBodyFromPath(".scripts/test.sh"). As you described, Bamboo cannot stop a build, it continues to run until all child processes are finished. 
https://jira.atlassian.com/browse/BAM-21065

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.
September 15, 2018

Hi! 

 

Let's try this method

https://docs.atlassian.com/atlassian-bamboo/REST/6.6.0/#d2e3030

Hope it helps

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events