...
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 | Datetime | $Agent.Now$ | "2014 4:51:44 PM" |
NowUTC | The Date Thecurrent date and Time time given as UTC | Datetime | $Agent.NowUtc$ | "2014 6:52:25 AM" |
InstallPath | The installation path of the agent | String | $Agent.InstallPath$ | "C:\Program Files\VSoft Technologies\ContinuaCIAgent\" |
GetUserEnvironmentVairable | Gets the specified user Windows 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 Windows environment variable (relative to the agent machine) | String | $Agent.GetMachineEnvironmentVairable("NUMBER_OF_PROCESSORS")$ | "8" |
N/A | Within this object is a list of the current agent property collectors | Property Collector | $Agent.NuGet.Default.Path$ | "C:\Program Files\NuGet\NuGet.exe" |
...