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 placeholder object for the build version.Version$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
BuildNumberAn incremental number allocated to this build (The first build will be build number 0)Numeric$Build.BuildNumber$100
MetricsA reference object to the metrics object related to associated with this build (defined below).Metrics$Build.Metrics$N/A
HasNewChangesDoes this build contain any new Changesets for this build (which Continua has not yet seen)Boolean$Build.HasNewChanges$true
LinkUrlBuild details UrlString$Build.LinkUrl$"http:\\SERVERNAME\New_Project_1\ci\builds\view\123"

...

NameDescriptionTypeUsage Examples 
NameName of the Configuration (as defined on the Configuration Details Pagedetails page)String$Configuration.Name$"New Configuration 1"

...

NameDescriptionTypeUsage Example
NameThe name of the Project for which this configuration is a part of (as Provided on the Project Details page)String$Project.Name$"New Project 1"
DescriptionThe description of the Project for which this configuration is a part of (as Provided on the Project Details page)String$Project.Description$"This is a description for new project 1"
SlugA shorterned version of the project name which is safe to use within Url's and other identifiers. For example "New Project 1" would have a slug of "New_Project_1"String$Project.Slug$"New_Project_1"

...

NameDescriptionTypeUsage Example
NowThe current date and time given as server localDateTime$Server.Now$"2014 5:03:18 PM"
NowUtcThe date and time given as UTCDateTime$Server.NowUtc$"2014 7:04:01 AM"
HostnameThe Continua server hostnameString$Server.Hostname$"SERVERMACHINE"
InstallPathThe Continua server install path (eg C:\Program Files\VSoft\)String$Server.InstallPath$"C:\Program Files\VSoft Technologies\ContinuaCI\"
UrlThe Server URL (eg http://ContinuaServerName)String$Server.Url$"http:\\SERVERNAME:8080"

...

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 for to the changeset information related to the most recent changeset for the given repository (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
IdA unique id given to this changesetString$Source.RepoName.LatestChangeset.Id$"a4ae66dffe5342e47c3aaf987bced4e9a320559e"
CommentThis comment associated with this changesetString$Source.RepoName.LatestChangeset.Comment$"This is a test commit"
RepositoryusernameThe username of the user who committed this changesetString$Source.RepoName.LatestChangeset.Repositoryusername$"Peter Toms"
BranchThe full branch path of the latest changeset associated with this repositoryString$Source.RepoName.LatestChangeset.Branch$"/branches/a_test_branch"
BranchnameThe branch name of the latest changeset associated with this repositoryString$Source.RepoName.LatestChangeset.Branchname$"a_test_branch"
CreatedThe created date of this changeset (when the changeset was created within the source repository)Datetime$Source.RepoName.LatestChangeset.Created$"11/09/2014 1:48:36 AM"
FilecountThe number of file changes associated with this commitInt$Source.RepoName.LatestChangeset.Filecount$1
CommitterusernameThe Username of the Continua User who committed this changeset (if one exists based on user repository mappings )String$Source.RepoName.LatestChangeset.Committerusername$"peter.toms@finalbuilder.com"
CommitterfullnameThe Full name of the Continua user who committed this changeset (if one exists based on user repository mappings)String$Source.RepoName.LatestChangeset.Committerfullname$"Peter Toms"

Stage (used by $Source)

NameDescriptionTypeUsage Example
NameThe stage name as defined within the workflow editorString"Build stage"$
MetricsA reference object for to the metrics related to associated with this build (defined below).MetricsN/AN/A

...

Version (used by $Build.Version)

NameDescriptionTypeUsage Example
DefaultA placeholder object for the default version objectDefault$Build.Version.DefaultN/A
DotNetA placeholder object for the default version objectDotNet$Build.Version.DotNetN/A

Default (used by $Build.Version.Default)

NameDescriptionTypeUsage Example
MajorThe version major portion of the version numberInteger$Build.Version.Default.Major$ 
MinorThe version minor portion of the version numberInteger$Build.Version.Default.Minor$ 
BuildThe version build portion of the version numberInteger$Build.Version.Default.Build$ 
RevisionThe version revision portion of the version numberInteger$Build.Version.Default.Revision$ 

 

...

DotNet (used by $Build.Version.Default)

NameDescriptionTypeUsage Example
MajorThe version major portion of the version numberInteger$Build.Version.DotNet.Major$"1" (from "1.2.3.4")
MinorThe version minor portion of the version numberInteger$Build.Version.DotNet.Minor$"2" (from "1.2.3.4")
BuildThe version build portion of the version numberInteger$Build.Version.DotNet.Build$"3" (from "1.2.3.4")
RevisionThe version revision portion of the version numberInteger$Build.Version.DotNet.Revision$"4" (from "1.2.3.4")