Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The username of the user who initiated the 100
NameDescriptionTypeUsage Example
IdBuildNumberA unique Integer allocated automatically to this buildString$Build.Id$"10"
VersionA reference object for the build version (as defined below).Version$Build.Version$N/A
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 StartedBy buildString$Build.StartedBy$Id$"peter.toms@finalbuilder.com10"
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" 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$
MetricsA reference object to the metrics associated with this build (as defined below).Metrics$Build.Metrics$N/A
HasNewChangesDoes this build contain changesets which have not been associated with a previous build?Boolean$Build.HasNewChanges$true
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/ALinkUrlBuild details URLString$Build.LinkUrl$"http:\\SERVERNAME\New_Project_1\ci\builds\view\123" 

Anchor
configuration
configuration
$Configuration

NameDescriptionTypeUsage Examples
Description



InitialisingBuildCountThe number of currently initialising buildsInteger$Configuration.InitialisingBuilds$1
InitialisingOrQueuedBuildCount



LastBuild



LastFinishedBuild



NameName of the configuration (as defined within the Configuration details page)String$Configuration.Name$"New Configuration 1"
RunningBuildsThe number of currently running buildsInteger$Configuration.RunningBuilds$1
PendingPromotionBuildCount



QueuedBuildCountQueuedBuildsThe number of currently queued buildsInteger$Configuration.QueuedBuilds$1
InitialisingBuildsRunningBuildCountThe number of currently initialising running buildsInteger$Configuration.InitialisingBuilds$RunningBuilds$1

Anchor
agent
agent
$Agent

NameDescriptionTypeUsage Example
PortThe port number used for agent communicationString$Agent.Port$"9000"
HostnameThe agents host nameString$Agent.Hostname$"AGENTMACHINE"
NowThe current date and time given as local to the agentDateTime$Agent.Now$"2014 4:51:44 PM"
NowUTCThe current date and time given as UTCDateTime$Agent.NowUtc$"2014 6:52:25 AM"
InstallPathThe installation path of the agentString$Agent.InstallPath$"C:\Program Files\VSoft Technologies\ContinuaCIAgent\"
GetUserEnvironmentVariableGets the specified Windows user environment variable (relative to the agent machine's service user, and relative to the agent machine)String$Agent.GetUserEnvironmentVariable("TEMP")$"%USERPROFILE%\AppData\Local\Temp"
GetMachineEnvironmentVariableGets the specified Windows machine environment variable (relative to the agent machine) String$Agent.GetMachineEnvironmentVariable("NUMBER_OF_PROCESSORS")$"8"
N/AWithin the Agent object is a list of the current agent property collectorsProperty Collector$Agent.NuGet.Default.Path$"C:\Program Files\NuGet\NuGet.exe"

...