...
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Id | A unique Integer allocated automatically to this build | String | $Build.Id$ | "10" |
Version | A reference object for the build version (as defined below). | Version | $Build.Version$ | N/A |
StartedBy | The username of the user who initiated the build | String | $Build.StartedBy$ | "peter.toms@finalbuilder.com" |
IsFeatureBranchBuild | Utilised via build triggers. This expression is set to true when a build is triggered on a non-default branch | Boolean | $Build.IsFeatureBranchBuild$ | true |
BuildNumber | A zero-based auto-incremented integer allocated to this build (the first build will be build 0, the second build 1, etc) | Integer | $Build.BuildNumber$ | 100 |
Metrics | A reference object to the metrics associated with this build (as defined below). | Metrics | $Build.Metrics$ | N/A |
HasNewChanges | Does this build contain changesets which have not been associated with a previous build? | Boolean | $Build.HasNewChanges$ | true |
LinkUrl | Build details URL | String | $Build.LinkUrl$ | "http:\\SERVERNAME\New_Project_1\ci\builds\view\123" |
...
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" |
...
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 (as defined below) | Unit Tests | $Build.Metrics.UnitTests | N/A |
...
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 .Net version | DotNet | $Build.Version.DotNet | N/A |
Anchor | ||||
---|---|---|---|---|
|
...