...
Anchor | ||||
---|---|---|---|---|
|
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Branch | The full name of the branch associated with the build for the given Repository | String | $Source.RepoName.Branch$ | "/branches/a_test_branch" |
BranchName | The branch name of the branch associated with the build for the given Repository | String | $Source.RepoName.BranchName$ | "a_test_branch" |
LatestChangeset | A 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" |
Path | The disk location of the source associated with the build for the given Repository | String | $Source.RepoName.Path$ | "C:\ContinuaAgent\Ws\44\Source\" |
Tag | The tag name (if one exists) associated with the build for the given Repository | String | $Source.RepoName.Tag$ | "v3-release" |
Type | The Repository product being used | String | $Source.RepoName.Type$ | "Mercurial" |
Url | The Url of the repository in question (as defined within the repository preferences) | String | $Source.RepoName.Url$ | "https://github.com/VSoftTechnologies/Delphi-Mocks.git" |
Anchor | ||||
---|---|---|---|---|
|
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Id | A unique identifier given to this Changeset | String | $Source.RepoName.LatestChangeset.Id$ | "a4ae66dffe5342e47c3aaf987bced4e9a320559e" |
Comment | This comment associated with this Changeset | String | $Source.RepoName.LatestChangeset.Comment$ | "This is a test commit" |
Repositoryusername | The username of the user who committed this Changeset | String | $Source.RepoName.LatestChangeset.Repositoryusername$ | "Peter Toms" |
Branch | The full branch path of the latest Changeset associated with this Repository | String | $Source.RepoName.LatestChangeset.Branch$ | "/branches/a_test_branch" |
Branchname | The branch name of the latest Changeset associated with this Repository | String | $Source.RepoName.LatestChangeset.Branchname$ | "a_test_branch" |
Created | The 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" |
Filecount | The number of file changes associated with this commit | Int | $Source.RepoName.LatestChangeset.Filecount$ | 1 |
Committerusername | The 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" |
Committerfullname | The 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 | ||||
---|---|---|---|---|
|
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Name | The stage name as defined within the workflow editor | String | $Build.Stage.Name | "this is a test stage" |
Metrics | A reference object to the metrics associated with this build (as defined below). | Metrics | $Build.Stage.Metrics | N/A |
Anchor | ||||
---|---|---|---|---|
|
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Compiler.Warning | The total number of compiler warnings for the current build (eg msbuild or Visual Studio build warnings) | Integer | $Build.Metrics.Compiler.Warning$ | 5 |
Compiler.Error | The total number of compiler errors for the current build (eg msbuild or Visual Studio build errors) | Integer | $Build.Metrics.Compiler.Error$ | 5 |
Unit Tests | A reference object for the Unit Test Metric details | Unit Tests | $Build.Metrics.UnitTests.Passed$ | 10 |
Anchor | ||||
---|---|---|---|---|
|
Name | Description | Type | Usage Example | |
---|---|---|---|---|
FixtureCount | The total number of test fixtures | Integer | $Build.Metrics.UnitTests.FixtureCount$ | 5 |
CaseCount | The total number of test cases | Integer | $Build.Metrics.UnitTests.CaseCount$ | 5 |
Passed | The number of passed tests | Integer | $Build.Metrics.UnitTests.Passed$ | 10 |
Failed | The number of failed tests | Integer | $Build.Metrics.UnitTests.Failed$ | 5 |
Error | The number of tests in error | Integer | $Build.Metrics.UnitTests.Error$ | 1 |
NotRun | The number of tests not run | Integer | $Build.Metrics.UnitTests.NotRun$ | 1 |
Inconclusive | The number of inconclusive tests | Integer | $Build.Metrics.UnitTests.Inconclusive$ | 1 |
Ignored | The number of ignored tests | Integer | $Build.Metrics.UnitTests.Ignored$ | 1 |
Invalid | The number of invalid tests | Integer | $Build.Metrics.UnitTests.Invalid$ | 1 |
Skipped | The number of skipped tests | Integer | $Build.Metrics.UnitTests.Skipped$ | 1 |
Anchor | ||||
---|---|---|---|---|
|
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Default | A reference object for the default version | Default | $Build.Version.Default | N/A |
DotNet | A reference object for the Dot Net version | DotNet | $Build.Version.DotNet | N/A |
Anchor | ||||
---|---|---|---|---|
|
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Major | The version major portion of the version number | Integer | $Build.Version.Default.Major$ | "1" (given "1.2.3.4") |
Minor | The version minor portion of the version number | Integer | $Build.Version.Default.Minor$ | "2" (given "1.2.3.4") |
Build | The version build portion of the version number | Integer | $Build.Version.Default.Build$ | "3" (given "1.2.3.4") |
Revision | The version revision portion of the version number | Integer | $Build.Version.Default.Revision$ | "4" (given "1.2.3.4") |
Anchor | ||||
---|---|---|---|---|
|
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Major | The version major portion of the version number | Integer | $Build.Version.DotNet.Major$ | "1" (given "1.2.0.1287") |
Minor | The version minor portion of the version number | Integer | $Build.Version.DotNet.Minor$ | "2" (fromgiven"1.2.0.1287") |
Build | The version build portion of the version number | Integer | $Build.Version.DotNet.Build$ | "0" (given "1.2.0.1287") |
Revision | The version revision portion of the version number | Integer | $Build.Version.DotNet.Revision$ | "1287" (given "1.2.0.1287") |