Back to index
Summary
Adds a deployer application to a release.projectNameStringrequiredThe name for the project that must be unique among all projects. releaseNameStringoptionalThe name of the release. applicationNameStringrequiredThe name of the application. afterDeployerApplicationStringoptionalThe name of the deployer application after which this deployer application should be placed. afterLastRetryStringoptionalSpecify continue or stop pipeline execution after last unsuccessful retry or a task. Possible values: "continueOnError" , "stopOnError" applicationProjectNameStringoptionalThe name of the project containing specified application. If not specified, it is defaulted to the release project name. beforeDeployerApplicationStringoptionalThe name of the deployer application before which this deployer application should be placed. enforceDependenciesBooleanoptionalEnforce dependencies flag to be used during runProcess for the application. errorHandlingStringoptionalSpecifies error handling for the deployer application. Possible values: "continueOnError" , "retryOnError" , "stopOnError" orderIndexIntegeroptionalSpecifies the application deployment order (starts from 1). processNameStringoptionalThe name of the application process. retryApproversArray<Unknown>optionalA list of retry approvers who receive the notification. retryCountStringoptionalIf the retry is auto, specify the maximum number of times retry should occur. retryIntervalStringoptionalIf the retry is auto, specify the number of seconds to wait until the next retry should occur. retryNotificationTemplateStringoptionalEmail retry notification template for application. retryTypeStringoptionalType of retry when process step or task fails. Is one of auto or manual .Possible values: "auto" , "manual" smartDeployBooleanoptionalSmart deploy flag to be used during runProcess for the application. snapshotNameStringoptionalThe name of the snapshot. stageArtifactsBooleanoptionalStage artifacts for the application process. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createDeployerApplication( projectName: "test-projectName", applicationName: "test-applicationName" /* optional arguments */ )