(→Commands)
|
(→Commands)
|
Line 101: | |||
***''-property '' | ***''-property '' | ||
****Optional. The name of the property to get the value of. | ****Optional. The name of the property to get the value of. | ||
+ | *'''getSystemProperties ''' | ||
+ | **Get properties of a global system scope. To get all properties in XML form, do not give a value for 'property'. To get just the text value of a property, give a property name for 'property'. | ||
+ | ***''-property '' | ||
+ | ****Optional. The name of the property to get the value of. | ||
+ | *'''getTestCoverage ''' | ||
+ | **Get a test coverage report of a build life. | ||
+ | ***''-buildlife '' | ||
+ | ****Required. Can be set via the environment variable AH_BUILD_LIFE_ID. The id of the build life to get the report from. | ||
+ | ***''-report '' | ||
+ | ****Required. The name of the report. | ||
+ | *'''getTests ''' | ||
+ | **Get a test report of a build life. | ||
+ | ***''-buildlife '' | ||
+ | ****Required. Can be set via the environment variable AH_BUILD_LIFE_ID. The id of the build life to get the report from. | ||
+ | ***''-report '' | ||
+ | ****Required. The name of the report. | ||
+ | *'''getWorkDir ''' | ||
+ | **Get the current working direcotry of a job execution. | ||
+ | ***''-job '' | ||
+ | ****Required. Can be set via the environment variable AH_JOB_ID. The id of the job to get the working directory from. | ||
+ | *'''setAgentProperties ''' | ||
+ | **Set properties on a agent configuration. Requires XML input. | ||
+ | ***''-agent '' | ||
+ | ****Required. The id of the agent to set the properties on. | ||
+ | *'''setBuildLifeProperties ''' | ||
+ | **Set properties on a build life. Requires XML input. | ||
+ | ***''-buildlife '' | ||
+ | ****Required. Can be set via the environment variable AH_BUILD_LIFE_ID. The id of the build life to set the properties on. | ||
+ | *'''setJobProperties ''' | ||
+ | **Set properties on a job execution. Requires XML input. | ||
+ | ***''-job '' | ||
+ | ****Required. Can be set via the environment variable AH_JOB_ID. The id of the job execution to set the properties on. | ||
+ | *'''setRequestProperties ''' | ||
+ | **Set properties on a request. Requires XML input. | ||
+ | ***''-request '' | ||
+ | ****Required. The id of the request to set the properties on. | ||
+ | *'''setStepProperties ''' | ||
+ | **Set properties on a step execution. Requires XML input. | ||
+ | ***''-job '' | ||
+ | ****Required. Can be set via the environment variable AH_JOB_ID. The id of the step's job execution to set the properties on. | ||
+ | ***''-step '' | ||
+ | ****Optional. The index of the step within the job execution or 'current' for the latest step. | ||
+ | *'''setSystemProperties ''' | ||
+ | **Set properties on a global system scope. Requires XML input. | ||
+ | ***''No options for this command. '' |