I found this method, but it just stops whole build. Stages keep on running till the end.
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
Hi!
Let's try this method
https://docs.atlassian.com/atlassian-bamboo/REST/6.6.0/#d2e3030
Hope it helps
Cheers,
Gonchik Tsymzhitov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.