Back to index
Summary
Adds the deployer configuration to the deployer application.projectNameStringrequiredThe name for the project that must be unique among all projects. releaseNameStringoptionalThe name of the release. applicationNameStringoptionalThe name of the application. applicationProjectNameStringoptionalThe name of the project containing specified application. If not specified, it is defaulted to the release project name. deployerConfigurationNameStringoptionalThe name of deployer configuration. If not specified, a system generated GUID is used. deployerTaskNameStringoptionalThe name of the deployer task defined in the provided stage. environmentNameStringoptionalThe name of the environment. environmentProjectNameStringoptionalThe name of the project containing specified environment or environment template. If not specified, it is defaulted to the release project name. environmentTemplateNameStringoptionalThe name of the environment template. environmentTemplateProjectNameStringoptionalThe name of the project containing specified environment template. If not specified, it is defaulted to the environment project name. insertRollingDeployManualStepBooleanoptionalTrue to indicate a manual step to inject after each phase or batch. processNameStringoptionalThe name of the application process. rollingDeployEnabledBooleanoptionalPerform rolling deployment. rollingDeployManualStepAssigneesArray<Unknown>optionalA list of assignees who receive the notification when rolling deploy iteration completes. rollingDeployManualStepConditionStringoptionalDefines run condition on manual step created during rolling deployment. Possible values: "always" , "failure" , "success" rollingDeployPhasesArray<Unknown>optionalOne or more rolling deploy phases to be used for deployment. rolloutApproversArray<Unknown>optionalA list of rollout approvers. rolloutNotificationEnabledBooleanoptionalRollout notification enabled (default is false). skipDeployBooleanoptionalTrue to skip deployment to an environment. snapshotNameStringoptionalThe name of the snapshot. stageNameStringoptionalThe name of the stage of a pipeline attached to a release if specified. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createDeployerConfiguration( projectName: "test-projectName" /* optional arguments */ )