Skip to main content

Cancel Build

cancelBuild.

Parameters

ParameterDescription
Build LocatorFiltering locator of Build entities.
'build_property':'value'

Input format example:
id:15
CommentOptional comment on why the build was canceled.
FieldsLimit the scope of fields available in the response.
build(field_name1,field_name2)

Input format example:
build(id,state)
Readd Into QueueDeclares if this is a request to restore a previously canceled build.

Automation Library Example

Cancel Build with Teamcity and Send Results Via Email

Automation LibraryPreview this Automation on desktop