TeamCity 2021.1 Help

VcsLabel

Represents a VCS-side label of this build's sources.

Related Help article: Labeling Sources

Properties

FieldData typeAllowed values

text

string

failureReason

string

status

string

  • none
  • set
  • is being set
  • failed
  • disabled for the vcs root
  • not supported yet for the vcs

buildId

long

vcs-root-instance

VcsRootInstance

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.

<vcsLabel buildId="123456789" failureReason="string" status="string" text="string"> <vcs-root-instance commitHookMode="true" href="string" id="string" lastVersion="string" lastVersionInternal="string" modificationCheckInterval="123" name="string" projectLocator="string" vcs-root-id="string" vcsName="string" vcsRootInternalId="string"> <vcs-root>[[[vcs-root...|vcsroot.html]]]</vcs-root> <status>[[[vcsStatus...|vcsstatus.html]]]</status> <repositoryState>[[[repositoryState...|repositorystate.html]]]</repositoryState> <properties>[[[properties...|properties.html]]]</properties> <repositoryIdStrings>[[[items...|items.html]]]</repositoryIdStrings> </vcs-root-instance> </vcsLabel>
{ "failureReason" : "failureReason", "vcs-root-instance" : "[[[vcs-root-instance...|vcsrootinstance.html]]]", "buildId" : 9, "text" : "text", "status" : "none" }
Last modified: 25 May 2021