The hcp command executes the create package process specified on the command line, or the first create package process in the current context if no process name is specified. The process definition determines the default behavior for associated forms and the state of the package, as well as process access and execution of linked processes. Other aspects of the process can be specified through command parameters read from the command line.
This command has the following format:
hcp packagename {-b name -en name -st name -usr username -pw password} [-v] [‑pn name] [-at username] [-prompt] [-i inputfile.txt | -di inputfile.txt] [‑eh filename] [‑o filename | -oa filename] [-arg] [-wts] [-h]
Specifies the name of the package to create.
(Required) Specifies the CA Harvest SCM broker name.
(Required) Specifies the CA Harvest SCM project context. If the project name contains spaces, enclose the name in quotation marks.
(Required) Specifies the name of the state in which the user is operating.
(Required, unless -prompt is specified) Specifies the user name for login to the broker. If -usr is defined without -pw, the user is prompted for the password at runtime.
(Required, unless -prompt is specified) Specifies the password for login to the broker. To hide the password from being exposed in plain text on the command line, use the ‑prompt option.
(Optional) Specifies a specific process name to invoke if more than one process of the same type exists in the state. If no process name is included in the command, the first process of that type in that state is invoked.
(Optional) Specifies the user name to assign to the package.
(Optional) Specifies the encrypted CA Harvest SCM username-password file name. The file name used with this option contains encrypted username-password credentials and must be generated with the svrenc utility.
Note: -eh overrides -usr and -pw options. -prompt overrides -eh, -usr and -pw options.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|