Back to index
Summary
Restart a pipeline run.flowRuntimeIdStringoptionalThe ID of the flow runtime. commentStringoptionalComment provided while restarting pipeline run which has completed with error. flowRuntimeNameStringoptionalThe name of the flow runtime. gateTypeStringoptionalThe type of the gate. Possible values: "POST" , "PRE" projectNameStringoptionalThe name of the project. stageNameStringoptionalThe name of a stage from which to restart a pipeline. taskNameStringoptionalThe 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 */ )