Back to index
Summary
Creates a wait dependency for a stage or task.projectNameStringrequiredThe name for the project that must be unique among all projects. pipelineNameStringoptionalThe name of the pipeline. stageNameStringoptionalThe name of the stage. allowSkipBooleanoptionalThe flag to indicate if a dependency can be skipped at runtime. assigneesForSkipArray<Unknown>optionalA list of assignees who can skip a dependency at runtime. dependentGateTypeStringoptionalThe type of dependent gate. Possible values: "POST" , "PRE" dependentPipelineNameStringoptionalThe name of the dependent pipeline. dependentProjectNameStringoptionalThe name of the dependent project. dependentReleaseNameStringoptionalThe name of the dependent release. dependentStageNameStringoptionalThe name of the dependent stage. dependentTaskNameStringoptionalThe name of the dependent task. gateTypeStringoptionalThe type of gate. Possible values: "POST" , "PRE" releaseNameStringoptionalThe name of the release. taskNameStringoptionalThe name of the task. waitDependencyNameStringoptionalThe name of the wait dependency. waitForTriggeredPipelinesBooleanoptionalThe flag to indicate that dependency should be created on all triggered pipelines. waitForTriggeredReleasesBooleanoptionalThe flag to indicate that dependency should be created on all triggered releases. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createWaitDependency( projectName: "test-projectName" /* optional arguments */ )