(→AHPTool Commands and Arguments)
|
(→ahptool [global-args...] [args...] command [-] [filename])
|
Line 6: | |||
== ahptool [global-args...] [args...] command [-] [filename] == | == ahptool [global-args...] [args...] command [-] [filename] == | ||
- | ---- | ||
*'''command ''' | *'''command ''' | ||
**One of the named commands below in the Commands section | **One of the named commands below in the Commands section | ||
Line 13: | |||
*'''filename ''' | *'''filename ''' | ||
**Read XML input from a file with the given filename. See command for requirements. | **Read XML input from a file with the given filename. See command for requirements. | ||
- | ---- | ||
- | ''Global Args: '' | + | === Global Args === |
* '''-authtoken ''' | * '''-authtoken ''' | ||
** Optional. Can be set as AH_AUTH_TOKEN in the environment. A authentication token generated by the Anthill server. authtoken or a username/password is required. | ** Optional. Can be set as AH_AUTH_TOKEN in the environment. A authentication token generated by the Anthill server. authtoken or a username/password is required. | ||
Line 24: | |||
**Required. Can be set as AH_WEB_URL in the environment. The base URL of the Anthill server. Eg.'' https://anthill.domain.com:8443 '' | **Required. Can be set as AH_WEB_URL in the environment. The base URL of the Anthill server. Eg.'' https://anthill.domain.com:8443 '' | ||
- | ''Commands: '' | + | === Commands === |
*'''addIssues ''' | *'''addIssues ''' | ||
**Add issues attached to source changes. Requires XML input. | **Add issues attached to source changes. Requires XML input. | ||
***''-buildlife'' | ***''-buildlife'' | ||
****Required. Can be set via the environment variable AH_BUILD_LIFE_ID. The build life id to add issues to. | ****Required. Can be set via the environment variable AH_BUILD_LIFE_ID. The build life id to add issues to. | ||
- | *addSourceAnalytics | + | *'''addSourceAnalytics ''' |
**Add a source analytics report to a build life. Requires XML input. | **Add a source analytics report to a build life. Requires XML input. | ||
***''-buildlife '' | ***''-buildlife '' |