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.
request
Stringrequired
This parameter and the value displayed are required; request=attachPipelineRun must appear in your query string.
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( request: "test-request", projectName: "test-projectName" /* optional arguments */ )