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$"9000"
HostnameThe Agents HostnameString$Agent.Hostname$"AGENTMACHINE"
NowThe current date and time given as agent localDatetime$Agent.Now$"2014 4:51:44 PM"
NowUTCThe Date Thecurrent date and Time 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\"
GetUserEnvironmentVairableGets 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"
GetMachineEnvironmentVairableGets the specified machine Windows environment variable (relative to the agent machine) String$Agent.GetMachineEnvironmentVairable("NUMBER_OF_PROCESSORS")$"8"
N/AWithin this object is a list of the current agent property collectorsProperty Collector$Agent.NuGet.Default.Path$"C:\Program Files\NuGet\NuGet.exe"

...