Back to index
Summary
Attach a formal parameter to a step.
The attachParameter command in CloudBees CD/RO version 6.0 and later is not compatible with previous CloudBees CD/RO releases.
|
projectNameStringrequiredThe name for the project that must be unique among all projects. procedureNameStringrequiredThe name of the procedure. stepNameStringrequiredThe name of the step in the procedure. formalParameterNameStringrequiredName for this parameter; used when the procedure is invoked to specify a value for the parameter. applicationNameStringoptionalThe name of the application. componentApplicationNameStringoptionalThe name of the component in the application. componentNameStringoptionalThe name of the component. gateTypeStringoptionalThe type of the gate. Possible values: "POST" , "PRE" microserviceApplicationNameStringoptionalThe name of the microservice application. microserviceNameStringoptionalThe name of the microservice. pipelineNameStringoptionalThe name of the pipeline. processNameStringoptionalThe name of the process. processStepNameStringoptionalThe name of the step in the process. releaseNameStringoptionalThe name of the release, if attaching a credential to a release pipeline. stageNameStringoptionalName of the stage to which this task belongs to. stateDefinitionNameStringoptionalThe name of the workflow state definition, if attaching a parameter to a state definition. taskNameStringoptionalThe name of the task. workflowDefinitionNameStringoptionalThe name of the workflow definition, if attaching a parameter to a workflow state definition. |
Usage
Perl
$cmdr->attachParameter( "test-projectName", # projectName "test-procedureName", # procedureName "test-stepName", # stepName "test-formalParameterName" # formalParameterName # optionals );
ectool
ectool attachParameter \ "test-projectName" `# projectName` \ "test-procedureName" `# procedureName` \ "test-stepName" `# stepName` \ "test-formalParameterName" `# formalParameterName` \ # optionals