attachPipelineRun

On this page
Back to index

Summary

Adds a pipeline run to a release with a status of running or planning; pipeline runs cannot be attached to completed releases.
projectName
Stringrequired
The name for the project that must be unique among all projects.
releaseName
Stringoptional
The name of the release.
flowRuntimeId
Stringoptional
The ID of the pipeline run to attach.

Usage

Groovy

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