TeamCity REST API Reference 2023.05 Help

BuildTriggeringOptions

Represents the dependency/queue settings with which this build has been started.

Related Help article: Running Custom Build

Properties

Field

Data type

cleanSources

boolean

cleanSourcesInAllDependencies

boolean

rebuildAllDependencies

boolean

rebuildFailedOrIncompleteDependencies

boolean

queueAtTop

boolean

freezeSettings

boolean

tagDependencies

boolean

rebuildDependencies

BuildTypes

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<buildTriggeringOptions cleanSources="true" cleanSourcesInAllDependencies="true" freezeSettings="true" queueAtTop="true" rebuildAllDependencies="true" rebuildFailedOrIncompleteDependencies="true" tagDependencies="true"> <rebuildDependencies count="123" href="string" nextHref="string" prevHref="string"> <buildType>[[[buildType...|buildtype.html]]]</buildType> </rebuildDependencies> </buildTriggeringOptions>
{ "cleanSources" : true, "rebuildFailedOrIncompleteDependencies" : true, "queueAtTop" : true, "cleanSourcesInAllDependencies" : true, "rebuildDependencies" : { "buildType" : [ "[[[buildType...|buildtype.html]]]" ], "count" : 3, "prevHref" : "prevHref", "href" : "href", "nextHref" : "nextHref" }, "tagDependencies" : true, "rebuildAllDependencies" : true, "freezeSettings" : true }
Last modified: 22 May 2023