getGate

On this page
Back to index

Summary

Retrieves a gate by its stage name and gate type.
stageName
Stringrequired
Name of the stage to which this task belongs to.
gateType
Stringrequired
The type of the gate.
projectName
Stringrequired
The name for the project that must be unique among all projects.
pipelineName
Stringoptional
The name of the pipeline.
releaseName
Stringoptional
The 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 */ )