cancel_build
Cancel a running or queued build in TeamCity. Optionally include a comment or requeue the build after cancellation.
Instructions
Cancel or stop a running or queued build, with optional comment and requeue flag. Returns the cancelled build; returns 404 if the build is unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildId | Yes | Build ID | |
| comment | No | Optional cancellation comment | |
| readdIntoQueue | No | If true, a new identical build will be queued after cancel (running builds only). Defaults to false. |