Back to index
Summary
Retrieves a gate by its stage name and gate type.stageNameStringrequiredName of the stage to which this task belongs to. gateTypeStringrequiredThe type of the gate. projectNameStringrequiredThe name for the project that must be unique among all projects. pipelineNameStringoptionalThe name of the pipeline. releaseNameStringoptionalThe name of the release. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getGate( stageName: "test-stageName", gateType: "test-gateType", projectName: "test-projectName" /* optional arguments */ )