Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Api rest send to stop build execution. But will not stop.

If I send through REST API a specific build job to stop. Actually I'm receiving a 204 status code and the build is stopped when you go to the bamboo interface. But when I go to the agent pages I can see that the job is still running and the log is growing up.

I guess it is a bug ... 

I'm using this endpoint: 

/queue/{projectKey}-{buildKey}-{buildNumber : ([0-9]+)}

Sending a Delete.





 

1 answer

Yes, 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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

180 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you