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
4,367,474
Community Members
 
Community Events
168
Community Groups

How to stop build stages with REST API?

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

2 answers

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

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

Atlassian Community Events