Back to index
Summary
Validates the deployer configuration.projectNameStringrequiredThe name for the project that must be unique among all projects. releaseNameStringoptionalThe name of the release. stageNameStringoptionalThe name of the stage of a pipeline attached to a release if specified. 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). snapshotNameStringoptionalThe name of the snapshot. validationTypeStringoptionalThe type of validation to perform (APPROVER for approver, PARAM for parameter, ENV for environment, ALL for all validations). Defaults to ALL. Possible values: "ALL" , "APPROVER" , "ENV" , "PARAM" |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.validateDeployer( projectName: "test-projectName" /* optional arguments */ )