...
Name | Description | Type | Usage Examples | |
---|---|---|---|---|
Name | Name of the Configuration as defined on the Configuration Details Page | String | $Configuration.Name$ | "New Configuration 1" |
$Agent
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Port | The Port number used for agent communication | String | $Agent.Port$ | "9000" |
Hostname | The Agents Hostname | String | $Agent.Hostname$ | "AGENTMACHINE" |
Now | The current date and time given as agent local | datetimeDatetime | $Agent.Now$ | "2014 4:51:44 PM" |
NowUTC | The Date and Time given as UTC | datetimeDatetime | $Agent.NowUtc$ | "2014 6:52:25 AM" |
InstallPath | The installation path of the agent (eg C:\ContinuaAgentInstall) | String | $Agent.InstallPath$ | "C:\Program Files\VSoft Technologies\ContinuaCIAgent\" |
GetUserEnvironmentVairable | Gets the specified user environment variable (relative to the agent machine's service user, and relative to the agent machine) | String | $Agent.GetUserEnvironmentVairable("TEMP")$ | "%USERPROFILE%\AppData\Local\Temp" |
GetMachineEnvironmentVairable | Gets the specified Machine Environment Variable (relative to the agent machine) | String | $Agent.GetMachineEnvironmentVairable("NUMBER_OF_PROCESSORS")$ | "8" |
N/A | What follows is a list of property collectors | Property Collector | $Agent.NuGet.Default.Path$ | "C:\Program Files\NuGet\NuGet.exe" |
$Project
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.ToLower$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.ToLower$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.ToLower$Slug$ | "New_Project_1" |
$Source
Name | Description | Type | Usage Example | |
---|---|---|---|---|
List of the repositories associated with configuration | What follows is a list of repositories associated with the given configuration | Repository | $Source.Reponame$ | "Mercurial_Test_1" |
$Server
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Now | The current date and time given as server local | DateTime | $Server.Now.Day$Now$ | "2014 5:03:18 PM" |
NowUtc | The date and time given as UTC | DateTime | $Server.NowUtc.Month$NowUtc$ | "2014 7:04:01 AM" |
Hostname | The Continua server hostname | String | $Server.Hostname.ToLower$Hostname$ | "SERVERMACHINE" |
InstallPath | The Continua server install path (eg C:\Program Files\VSoft\) | String | $Server.InstallPath.ToLower$InstallPath$ | "C:\Program Files\VSoft Technologies\ContinuaCI\" |
Url | The Server URL (eg http://ContinuaServerName) | String | $Server.Url.ToLower$Url$ | "http:\\SERVERNAME:8080" |
$Utils
Name | Description | Type | Usage Example | |
---|---|---|---|---|
NewGuid | Create a randomly generated Guid | Guid | $Utils.NewGuid$ | "da47b2d6-3580-48ed-b27a-f152da2345e6" |
RandomNumber | Generate a new random integer value If one parameter is provided it designates a random number in the range of greater than or equal to zero and the number provided will be generated If two parameters are provided they designate the range for the generated number. If no parameters are provided an 32-bit integer greater than or equal to zero and less than int32 max value (2,147,483,647) will be generated. | DateTimeInteger | $Utils.RandomNumber("1", "10")$ $Utils.RandomNumber("10")$ $Utils.RandomNumber$ | 5 2 1906529119 |
Repository (used by $Source )
Name | Description | Type | Usage Example | |
---|---|---|---|---|
Branch | The name of the branch associated with the build for the given repository () | String | $Source.RepoName.Branch.ToLower$Branch$ | "/branches/a_test_branch" |
BranchName | String | $Source.RepoName.BranchName.ToLower$ | "a_test_branch" | |
LatestChangeset | A placeholder for the changeset information related to the most recent changeset for the given repository | Changeset | $Source.RepoName.LatestChangeset.Comment$ | |
Path | String | $Source.RepoName.Path.ToLower$ | ||
Tag | String | $Source.RepoName.Tag.ToLower$ | ||
Type | String | $Source.RepoNamea.Type$ | ||
Url | String | $Source.RepoName.Url$ |
Changeset (used by $Source)
...