Versions Compared

Key

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

...

NameDescriptionTypeUsage Example
PortThe Port number used for agent communicationstring$Agent.Port$
HostnameThe Agents Hostnamestring 
NowThe Date and Time given as agent localdate timedatetime$Agent.Now$
NowUTCThe Date and Time given as UTCdate timedatetime$Agent.NowUtc$
InstallPathThe installation path of the agent (eg C:\ContinuaAgentInstall)string$Agent.InstallPath$
GetUserEnvironmentVairableGets the specified user environment variable (relative to the agent machine's service user, and relative to the agent machine)string$Agent.GetUserEnvironmentVairable("TEMP")$
GetMachineEnvironmentVairableGets the specified Machine Environment Variable (relative to the agent machine) string$Agent.GetMachineEnvironmentVairable("NUMBER_OF_PROCESSORS")$
List of Property CollectorsWhat follows is a list of property collectorsProperty Collector$Agent.NuGet.Default.Path$

...

NameDescriptionTypeUsage 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$
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$
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$

...