<sysinfo>Sets a number of properties with information about the system environment.
The intent of this task is for nightly build logs to have a record of system information that the build was performed on. Property | Value |
|---|
sys.clr.version | Common Language Runtime version number. | sys.env.* | Environment variables (e.g., sys.env.PATH). | sys.os.folder.system | The System directory. | sys.os.folder.temp | The temporary directory. | sys.os.platform | Operating system platform ID. | sys.os.version | Operating system version. | sys.os | Operating system version string. |
Attribute | Description | Required |
|---|
prefix | The string to prefix the property names with. Default is "sys." | False | failonerror | Determines whether task failure stops the build or is just reported. Default is "true." | False | verbose | Task reports detailed build log messages. Default is "false." | False | if | If true then the task will be executed; otherwise skipped. Default is "true." | False | unless | Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false." | False |
Example
<sysinfo verbose="true"/>
|