The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Stanislav Panchenko
Contributor
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 Champion
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

TAGS
AUG Leaders

Atlassian Community Events