Back to index
Summary
Modifies an environment.projectNameStringrequiredThe name for the project that must be unique among all projects. environmentNameStringrequiredThe name of the environment. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. environmentEnabledBooleanoptionalTrue to enable the environment. newNameStringoptionalThe new name for an existing object that is being renamed. reservationRequiredBooleanoptionalTrue to allow run using reservation only. rollingDeployEnabledBooleanoptionalTrue to enable support for rolling deploy on this environment. rollingDeployTypeStringoptionalThe type of rolling deploy type supported by the environment. Possible values: "batch" , "phase" |
Usage
Perl
$cmdr->modifyEnvironment( "test-projectName", # projectName "test-environmentName" # environmentName # optionals );
ectool
ectool modifyEnvironment \ "test-projectName" `# projectName` \ "test-environmentName" `# environmentName` \ # optionals