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

NameDescriptionTypeExample
 The disk location on the server for the build workspacestring$Workspace$\testfolder

Build

NameDescriptionTypeExample
IdInteger allocated for this buildstring$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

NameDescriptionTypeExample
Name string$Configuration.Name$

Agent

NameDescriptionTypeExample
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

NameDescriptionTypeExample
Name string$Project.Name.ToLower$
Description string$Project.Description.ToLower$
Slug string$Project.Slug.ToLower$

Source

NameDescriptionTypeExample
List of the repositories associated with configuration Repository$Source.Reponame

Server

NameDescriptionTypeExample
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 )

NameDescriptionTypeExample
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)

NameDescriptionTypeExample
Id   
Comment   
Repositoryusername   
Branch   
Branchname String 
Created Date time 
Filecount   
Committerusername   
Committerfullname   

Version

NameDescriptionTypeExample
Major   
Minor   
Build   
Revision   

Stage

NameDescriptionTypeExample
Name   
Metrics   

 

 

  • No labels