...
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" |
BuiltChangeset | A reference object to the changeset information related to the changeset which is being built for the given repository (as defined below) | Changeset | $Source.RepoName.BuildChangeset.TagNames$ | "tag1,tag2,tag3" |
LatestTriggeringChangeset | A reference object to the changeset information related to the latest changeset for the given repository which triggerred this build (as defined below) | Changeset | $Source.RepoName.BuildChangeset.BranchName$ | "master" |
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" |
...
Name | Description | Type | Usage Example | ||
---|---|---|---|---|---|
Id | A unique identifier given to this changeset | String | $Source.RepoName.LatestChangesetBuiltChangeset.Id$ | "a4ae66dffe5342e47c3aaf987bced4e9a320559e" | |
Comment | This comment associated with this changeset | String | $Source.RepoName.LatestChangesetBuiltChangeset.Comment$ | "This is a test commit" | |
RepositoryUsername | The username of the repository user who committed this changeset | String | $Source.RepoName.LatestChangesetBuiltChangeset.RepositoryUsername$ | "Peter Toms" | |
Branch | The full branch path of the latest changeset associated with this repository | String | $Source.RepoName.LatestChangesetBuiltChangeset.Branch$ | "/branches/a_test_branch" | |
BranchName | The branch name of the latest changeset associated with this repository | String | $Source.RepoName.LatestChangesetBuiltChangeset.BranchName$ | "a_test_branch" | |
Created | The date and time when the changeset was committed or created within the source repository | DateTime | $Source.RepoName.LatestChangesetBuiltChangeset.Created$ | "11/09/2014 1:48:36 AM" | |
FileCount | The number of file changes associated with this commit | Integer | $Source.RepoName.LatestChangesetBuiltChangeset.FileCount$ | 1 | |
CommitterUserName | The username of the Continua User who committed this changeset (if one exists based on user repository mappings ) | String | $Source.RepoName.LatestChangesetBuiltChangeset.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. | LatestChangesetBuiltChangeset.CommitterFullName$ | "Peter Toms" |
FirstTagName | The name of the first (or earliest) tag associated with this changeset | String | $Source.RepoName.BuiltChangeset.FirstTagName$ | "tag1" | |
LatestTagName | The name of the latest tag associated with this changeset | String | $Source.RepoName.BuiltChangeset.LatestTagName$ | "tag3" | |
TagNames | A comma-delimited list of tags associated with this changeset | String | $Source.RepoName.BuiltChangeset.TagNames$ | "tag1,tag2,tag3" | |
ChangedTagName | The name of the tag which was changed by this changeset | String | $Source.RepoName.LatestTriggeringChangeset.ChangedTagName$ | "tag3" |
Anchor | ||||
---|---|---|---|---|
|
...
$Build)
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 |
...
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 TestsUnitTests | A reference object for the unit test metric details (as defined below) | Unit TestsUnitTests | $Build.Metrics.UnitTests | N/A |
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 |
...