Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated configuration object (for additional descriptors which are present in the config conditions dialog)

...

NameDescriptionTypeUsage Examples 
NameName of the configuration (as defined within the Configuration details page)String$Configuration.Name$"New Configuration 1"
RunningBuildsThe number of currently running buildsInteger$Configuration.RunningBuilds$1
QueuedBuildsThe number of currently queued buildsInteger$Configuration.QueuedBuilds$1
InitialisingBuildsThe number of currently initialising buildsInteger$Configuration.InitialisingBuilds$1

Anchor
agent
agent
$Agent

NameDescriptionTypeUsage Example
PortThe port number used for agent communicationString$Agent.Port$"9000"
HostnameThe agents host nameString$Agent.Hostname$"AGENTMACHINE"
NowThe current date and time given as local to the agentDatetime$Agent.Now$"2014 4:51:44 PM"
NowUTCThe current date and time given as UTCDatetime$Agent.NowUtc$"2014 6:52:25 AM"
InstallPathThe installation path of the agentString$Agent.InstallPath$"C:\Program Files\VSoft Technologies\ContinuaCIAgent\"
GetUserEnvironmentVariableGets the specified Windows user environment variable (relative to the agent machine's service user, and relative to the agent machine)String$Agent.GetUserEnvironmentVariable("TEMP")$"%USERPROFILE%\AppData\Local\Temp"
GetMachineEnvironmentVariableGets the specified Windows machine environment variable (relative to the agent machine) String$Agent.GetMachineEnvironmentVariable("NUMBER_OF_PROCESSORS")$"8"
N/AWithin the Agent object is a list of the current agent property collectorsProperty Collector$Agent.NuGet.Default.Path$"C:\Program Files\NuGet\NuGet.exe"

...