Is there a way that I can pause all build configurations within a project by giving the project id?
I wrote a script to do this which gets all builds for project id, pauses them - but I have to then go through all queued builds, and also running builds to cancel them.
I know on the UI it gives me the option of cancelling queued builds. I''d just like to know if it's possible with using the REST API.
Example of the script:
PutRequest(getTeamCityRestApiUrl() + 'buildTypes/id:' + buildType + '/paused', 'false')
Is it possible to add more parameters to cancell all builds for that id?