You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The build object $Build provides access to the properties of the current build

NameDescriptionTypeUsage Example
BuildNumberA zero-based auto-incremented integer allocated to this build (the first build will be build 0, the second build 1, etc)Integer$Build.BuildNumber$100
Duration



FirstSharedResourceLabel



HasErroredStages



HasFailedStages



HasNewChangesDoes this build contain changesets which have not been associated with a previous build?Boolean$Build.HasNewChanges$true
HasSuccessfulStages



HasWarnings



IdA unique Integer allocated automatically to this buildString$Build.Id$"10"
IsFeatureBranchBuildUtilised via build triggers. This expression is set to true when a build is triggered on a non-default branchBoolean$Build.IsFeatureBranchBuild$true
LastSharedResourceLabel



LinkUrlBuild details URLString$Build.LinkUrl$"http:\\SERVERNAME\New_Project_1\ci\builds\view\123" 
MetricsA reference object to the metrics associated with this build (as defined below).Metrics$Build.Metrics$N/A
SharedResourceLabels



SharedResources



StartComment



StartedByThe username of the user who initiated the buildString$Build.StartedBy$"peter.toms@finalbuilder.com"
VersionA reference object for the build version (as defined below).Version$Build.Version$N/A
  • No labels