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
Community Members
Community Events
Community Groups

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/"). As you described, Bamboo cannot stop a build, it continues to run until all child processes are finished.

Suggest an answer

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

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

302 views 0 7
Read article

Atlassian Community Events