You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 13
Next »
Descriptors provide a mechanism to autocomplete values which may not be known until build execution time.
Workspace
Name | Description | Type | Example |
---|
| The disk location on the server for the build workspace | string | $Workspace$\testfolder |
Build
Name | Description | Type | Example |
---|
Id | Integer allocated for this build | string | $Build.Id$ |
Version | | Version | $Build.Version.Default.Major$ |
StartedBy | | string | $Build.StartedBy$ |
IsFeatureBranchBuild | | Boolean | $Build.IsFeatureBranchBuild$ |
BuildNumber | | Numeric | $build.BuildNumber$ |
Metrics | | Metrics | $build.Metrics$ |
HasNewChanges | | Boolean | $build.HasNewChanges$ |
LinkUrl | | string | $build.LinkUrl$ |
Configuration
Name | Description | Type | Example |
---|
Name | | string | $Configuration.Name$ |
Agent
Name | Description | Type | Example |
---|
Port | | string | $Agent.Port |
Hostname | | string | |
Now | | date time | |
NowUTC | | date time | |
InstallPath | | string | |
GetUserEnvironmentVairable | | string | |
GetMachineEnvironmentVairable | | string | |
List of Property Collectors | | Property Collector | $Agent.NuGet.Default.Path$ |
Project
Name | Description | Type | Example |
---|
Name | | string | $Project.Name.ToLower$ |
Description | | string | $Project.Description.ToLower$ |
Slug | | string | $Project.Slug.ToLower$ |
Source
Name | Description | Type | Example |
---|
List of the repositories associated with configuration | | Repository | $Source.Reponame |
Server
Name | Description | Type | Example |
---|
Now | | DateTime | $Server.Now.Day$ |
NowUtc | | DateTime | $Server.NowUtc.Month$ |
Hostname | | | $Server.Hostname.ToLower$ |
InstallPath | | | $Server.InstallPath.ToLower$ |
Url | | | $Server.Url.ToLower$ |
Repository (used by $Source )
Name | Description | Type | Example |
---|
Branch | | String | $Source.aa.Branch.ToLower$ |
BranchName | | String | $Source.aa.BranchName.ToLower$ |
LatestChangeset | | Changeset | $Source.aa.LatestChangeset.Comment$ |
Path | | String | $Source.aa.Path.ToLower$ |
Tag | | String | $Source.aa.Tag.ToLower$ |
Type | | String | $Source.aa.Type$ |
Url | | String | $Source.aa.Url$ |
Changeset (used by $Source)
Name | Description | Type | Example |
---|
Id | | | |
Comment | | | |
Repositoryusername | | | |
Branch | | | |
Branchname | | String | |
Created | | Date time | |
Filecount | | | |
Committerusername | | | |
Committerfullname | | | |
Version
Name | Description | Type | Example |
---|
Major | | | |
Minor | | | |
Build | | | |
Revision | | | |
Stage
Name | Description | Type | Example |
---|
Name | | | |
Metrics | | | |