Stopping build via REST
I am unsure how to stop a running build.
I can get the current running build for the agent i am interested using
http://teamcity/httpAuth/app/rest/builds/?locator=running:true,agentName:myAgent
And from here i can get the id
<builds count="1">
</builds>
What POST command do i need to give to stop this build ?
Thanks
<build id="553368" number="9" running="true" percentageComplete="100" status="SUCCESS" buildTypeId="bt402" startDate="20120518T162753+0100"href="/httpAuth/app/rest/builds/id:553368" webUrl="http://teamcity/viewLog.html?buildId=553368&buildTypeId=bt402"/>
</builds>
What POST command do i need to give to stop this build ?
Thanks
Please sign in to leave a comment.