...
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Id | A unique Integer allocated automatically to this build | String | $Build.Id$ | "10" |
Version | A placeholder object for the build version. | Version | $Build.Version.Default.Major$ | "1" |
StartedBy | The username of the user who initiated the build | String | $Build.StartedBy$ | "peter.toms@finalbuilder.com" |
IsFeatureBranchBuild | Utilized via build triggers, this descriptor is set to true when a build is triggered on a non-default branch | Boolean | $Build.IsFeatureBranchBuild$ | true |
BuildNumber | An incremental number allocated to this build (The first build will be build number 0) | Numeric | $Build.BuildNumber$ | 100 |
Metrics | A reference object to the metrics object related to associated with this build (defined below). | Metrics | $Build.Metrics$ | N/A |
HasNewChanges | Does this build contain any new Changesets for this build (which Continua has not yet seen) | Boolean | $Build.HasNewChanges$ | true |
LinkUrl | Build details Url | String | $Build.LinkUrl$ | "http:\\SERVERNAME\New_Project_1\ci\builds\view\123" |
...
Name | Description | Type | Usage Examples | |
---|---|---|---|---|
Name | Name of the Configuration (as defined on the Configuration Details Pagedetails page) | String | $Configuration.Name$ | "New Configuration 1" |
...
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Name | The 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" |
Description | The 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" |
Slug | A 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" |
...
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Now | The current date and time given as server local | DateTime | $Server.Now$ | "2014 5:03:18 PM" |
NowUtc | The date and time given as UTC | DateTime | $Server.NowUtc$ | "2014 7:04:01 AM" |
Hostname | The Continua server hostname | String | $Server.Hostname$ | "SERVERMACHINE" |
InstallPath | The Continua server install path (eg C:\Program Files\VSoft\) | String | $Server.InstallPath$ | "C:\Program Files\VSoft Technologies\ContinuaCI\" |
Url | The Server URL (eg http://ContinuaServerName) | String | $Server.Url$ | "http:\\SERVERNAME:8080" |
...
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 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" |
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 id 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" |
Stage (used by $Source)
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Name | The stage name as defined within the workflow editor | String | "Build stage" | $ |
Metrics | A reference object for to the metrics related to associated with this build (defined below). | Metrics | N/A | N/A |
...
Version (used by $Build.Version)
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Default | A placeholder object for the default version object | Default | $Build.Version.Default | N/A |
DotNet | A placeholder object for the default version object | DotNet | $Build.Version.DotNet | N/A |
Default (used by $Build.Version.Default)
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Major | The version major portion of the version number | Integer | $Build.Version.Default.Major$ | |
Minor | The version minor portion of the version number | Integer | $Build.Version.Default.Minor$ | |
Build | The version build portion of the version number | Integer | $Build.Version.Default.Build$ | |
Revision | The version revision portion of the version number | Integer | $Build.Version.Default.Revision$ |
...
DotNet (used by $Build.Version.Default)
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Major | The version major portion of the version number | Integer | $Build.Version.DotNet.Major$ | "1" (from "1.2.3.4") |
Minor | The version minor portion of the version number | Integer | $Build.Version.DotNet.Minor$ | "2" (from "1.2.3.4") |
Build | The version build portion of the version number | Integer | $Build.Version.DotNet.Build$ | "3" (from "1.2.3.4") |
Revision | The version revision portion of the version number | Integer | $Build.Version.DotNet.Revision$ | "4" (from "1.2.3.4") |