Back to index
Summary
Adds a rolling deploy phase to the specified environment.projectNameStringrequiredThe name for the project that must be unique among all projects. rollingDeployPhaseNameStringrequiredThe name of the rolling deploy phase. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. environmentNameStringoptionalThe name of the environment. orderIndexIntegeroptionalSpecifies the phase order (starts from 1). phaseExpressionStringoptionalA fixed text or text embedding property references that is evaluated into a logical TRUE or FALSE. An empty string, a 0 or false is interpreted as FALSE. Any other result string is interpreted as TRUE.rollingDeployPhaseTypeStringoptionalThe type of rolling deploy phase. Possible values: "expression" , "tagged" , "untagged" |
Usage
Perl
$cmdr->createRollingDeployPhase( "test-projectName", # projectName "test-rollingDeployPhaseName" # rollingDeployPhaseName # optionals );
ectool
ectool createRollingDeployPhase \ "test-projectName" `# projectName` \ "test-rollingDeployPhaseName" `# rollingDeployPhaseName` \ # optionals