Back to index
Summary
Creates a new component based on an existing one.projectNameStringrequiredThe name for the project that must be unique among all projects. componentNameStringrequiredThe name of the component. newComponentNameStringrequiredThe name of new component. applicationTierNameStringoptionalThe name of the tier. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. fromApplicationNameStringoptionalThe name of the source application. toApplicationNameStringoptionalThe name of the source application. |
Usage
Perl
$cmdr->copyComponent( "test-projectName", # projectName "test-componentName", # componentName "test-newComponentName" # newComponentName # optionals );
ectool
ectool copyComponent \ "test-projectName" `# projectName` \ "test-componentName" `# componentName` \ "test-newComponentName" `# newComponentName` \ # optionals