Versions Compared

Key

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

...

NameDescriptionTypeUsage Example
IdA 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
StartedByThe username of the user who initiated the buildString$Build.StartedBy$"peter.toms@finalbuilder.com"
IsFeatureBranchBuildUtilised via build triggers. This expression is set to true when a build is triggered on a non-default branchBoolean$Build.IsFeatureBranchBuild$true
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
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
LinkUrlBuild details URLString$Build.LinkUrl$"http:\\SERVERNAME\New_Project_1\ci\builds\view\123" 

...

NameDescriptionTypeUsage Example
BranchThe full name of the branch associated with the build for the given repositoryString$Source.RepoName.Branch$"/branches/a_test_branch"
BranchNameThe branch name of the branch associated with the build for the given repositoryString$Source.RepoName.BranchName$"a_test_branch"
LatestChangesetA reference object to the changeset information related to the most recent changeset for the given repository (as defined below).Changeset$Source.RepoName.LatestChangeset.Comment$"a comment from the last commit"
PathThe disk location of the source associated with the build for the given repositoryString$Source.RepoName.Path$"C:\ContinuaAgent\Ws\44\Source\"
TagThe tag name (if one exists) associated with the build for the given repositoryString$Source.RepoName.Tag$"v3-release"
TypeThe repository product being usedString$Source.RepoName.Type$"Mercurial"
UrlThe URL of the repository in question (as defined within the repository preferences)String$Source.RepoName.Url$"https://github.com/VSoftTechnologies/Delphi-Mocks.git"

...

NameDescriptionTypeUsage Example
Compiler.WarningThe total number of compiler warnings for the current build (eg MSBuild or Visual Studio build warnings)Integer$Build.Metrics.Compiler.Warning$5
Compiler.ErrorThe total number of compiler errors for the current build (eg MSBuild or Visual Studio build errors)Integer$Build.Metrics.Compiler.Error$5
Unit TestsA reference object for the unit test metric details (as defined below)Unit Tests$Build.Metrics.UnitTestsN/A

...

NameDescriptionTypeUsage Example
DefaultA reference object for the default versionDefault$Build.Version.DefaultN/A
DotNetA reference object for the .Net versionDotNet$Build.Version.DotNetN/A

Anchor
default
default
Default (used by $Build.Version.Default)

...