Versions Compared

Key

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

...

$Workspace

NameDescriptionTypeUsage Examples
N/AThe disk location (on the server or agent) of a builds' workspace.string$Workspace$\testfolder"D:\ContinuaAgent\Ws\19\"

$Build

NameDescriptionTypeUsage Examples
IdA unique Integer allocated automatically to this buildString$Build.Id$"10"
VersionThe build version. This is derived from the configuration 'Version Format String' field on the configuration details tab (for example "1.0.0.$Build.BuildNumber$")Versionversion$Build.Version.Default.Major$"1"
StartedByThe username of the user who initiated the buildString$Build.StartedBy$"peter.toms@finalbuilder.com"
IsFeatureBranchBuildUtilized via build triggers, this descriptor is set to true when a build is triggered on a non-default branchBoolean$Build.IsFeatureBranchBuild$true
BuildNumberThe total number of buildsAn incremental number allocated to this build (The first build will be build number 0)Numeric$Build.BuildNumber$100
MetricsA placeholder for metrics related to this build (eg the number of unit tests passed)Metrics$Build.Metrics$N/A
HasNewChangesDoes this build contain any new Changesets (which Continua has not yet seen)booleanBoolean$Build.HasNewChanges$true
LinkUrlBuild details UrlString$Build.LinkUrl$" (eg http:\\SERVERNAME\New_Project_1\ci\builds\view\123)String$Build.LinkUrl$"

$Configuration

NameDescriptionTypeUsage Examples
NameName of the Configuration as defined on the Configuration Details PageString$Configuration.Name$

...

NameDescriptionTypeUsage Examples
Branch The name of the branch associated with the build for the given repository ()String$Source.RepoName.Branch.ToLower$
BranchName String$Source.RepoName.BranchName.ToLower$
LatestChangeset A placeholder for the changeset information related to the most recent changeset for the given repositoryChangeset$Source.RepoName.LatestChangeset.Comment$
Path String$Source.RepoName.Path.ToLower$
Tag String$Source.RepoName.Tag.ToLower$
Type String$Source.RepoNamea.Type$
Url String$Source.RepoName.Url$

...