Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

NameDescriptionTypeExample
Id Integer 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$

...

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
Name 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   

...