getStage

On this page
Back to index

Summary

Retrieves a stage by its name.
stageName
Stringrequired
The name of the stage.
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.
timeZone
Stringoptional
The 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 */ )