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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.