Back to index
Summary
Retrieves a stage by its name.stageNameStringrequiredThe name of the stage. projectNameStringrequiredThe name for the project that must be unique among all projects. pipelineNameStringoptionalThe name of the pipeline. releaseNameStringoptionalThe name of the release. timeZoneStringoptionalThe time zone to use when interpreting times. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getStage( stageName: "test-stageName", projectName: "test-projectName" /* optional arguments */ )