Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Aram Jachatryan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 18, 2021

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

0 votes
Stanislav Panchenko July 12, 2021

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
AUG Leaders

Atlassian Community Events