getRelease

On this page
Back to index

Summary

Retrieves a release by name.
releaseName
Stringrequired
The name of the release.
projectName
Stringrequired
The name for the project that must be unique among all projects.
releaseFlowRuntimeMappings
Array<ReleaseFlowRuntimeMapping>optional
Map of releaseId and flowRuntimeId.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getRelease( releaseName: "test-releaseName", projectName: "test-projectName" /* optional arguments */ )