restartPipelineRun

On this page
Back to index

Summary

Restart a pipeline run.
flowRuntimeId
Stringoptional
The ID of the flow runtime.
actualParameters
Array<ActualParameter>optional
The list of actual parameters.
comment
Stringoptional
Comment provided while restarting pipeline run which has completed with error.
flowRuntimeName
Stringoptional
The name of the flow runtime.
fromFailure
Booleanoptional
Used when taskName is a group. False to restart all subtasks or true to restart from failed subtask. Defaults to true.
gateType
Stringoptional
The type of the gate.
Possible values: "POST", "PRE"
projectName
Stringoptional
The name of the project.
stageName
Stringoptional
The name of a stage from which to restart a pipeline.
taskName
Stringoptional
The name of a high-level task in the last active stage from which to restart a pipeline.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.restartPipelineRun( /* optional arguments */ )