Versions Compared

Key

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

...

Anchor
repository
repository
Repository (used by $Source )

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"

Anchor
changeset
changeset
Changeset (used by $Source)

NameDescriptionTypeUsage Example
IdA unique identifier 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"

Anchor
stage
stage
Stage (used by $Source)

NameDescriptionTypeUsage Example
NameThe stage name as defined within the workflow editorString$Build.Stage.Name"this is a test stage"
MetricsA reference object to the metrics associated with this build (as defined below).Metrics$Build.Stage.MetricsN/A

Anchor
metrics
metrics
Metrics (used by $Build)

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 detailsUnit Tests$Build.Metrics.UnitTests.Passed$10

Anchor
unittests
unittests
Unit Tests (used by $Build.Metrics)

NameDescriptionTypeUsage Example
FixtureCountThe total number of test fixturesInteger$Build.Metrics.UnitTests.FixtureCount$5
CaseCountThe total number of test casesInteger$Build.Metrics.UnitTests.CaseCount$5
PassedThe number of passed testsInteger$Build.Metrics.UnitTests.Passed$10
FailedThe number of failed testsInteger$Build.Metrics.UnitTests.Failed$5
ErrorThe number of tests in errorInteger$Build.Metrics.UnitTests.Error$1
NotRunThe number of tests not runInteger$Build.Metrics.UnitTests.NotRun$1
InconclusiveThe number of inconclusive testsInteger$Build.Metrics.UnitTests.Inconclusive$1
IgnoredThe number of ignored testsInteger$Build.Metrics.UnitTests.Ignored$1
InvalidThe number of invalid testsInteger$Build.Metrics.UnitTests.Invalid$1
SkippedThe number of skipped testsInteger$Build.Metrics.UnitTests.Skipped$1

Anchor
version
version
Version (used by $Build.Version)

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

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

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

Anchor
dotnet
dotnet
DotNet (used by $Build.Version.DotNet)

NameDescriptionTypeUsage Example
MajorThe version major portion of the version numberInteger$Build.Version.DotNet.Major$"1" (given "1.2.0.1287")
MinorThe version minor portion of the version numberInteger$Build.Version.DotNet.Minor$"2" (fromgiven"1.2.0.1287")
BuildThe version build portion of the version numberInteger$Build.Version.DotNet.Build$"0" (given "1.2.0.1287")
RevisionThe version revision portion of the version numberInteger$Build.Version.DotNet.Revision$"1287" (given "1.2.0.1287")