Back to index
Summary
Restart a pipeline run.Before restarting the pipeline run, update the task definition and fix issues causing the task to fail.
-
If the specified pipeline configures the
disableRestart
flag totrue
or1
, it cannot be restarted. -
If the pipeline configures the
disableMultipleActiveRuns
flag totrue
or1
, only one active run of this pipeline is allowed at a time and attempts to restart it results in an exception. However, you are able to restart the current pipeline from a stage or task.
actualParameterArrayoptionalThe list of actual parameters. commentStringoptionalComment provided while restarting pipeline run which has completed with error. flowRuntimeIdUUIDoptionalThe ID of the flow runtime. flowRuntimeNameStringoptionalThe name of the flow runtime. fromFailureBooleanoptionalUsed when taskName is a group. False to restart all subtasks or true to restart from failed subtask. Defaults to true. 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
Perl
$cmdr->restartPipelineRun( # optionals );
ectool
ectool restartPipelineRun \ # optionals