Back to index
Summary
Retries a pipeline task. This only applies to tasks that are waiting for a manual retry. It can be any pipeline task (excludingMANUAL
, APPROVAL
, GROUP
, and DEPLOYER
tasks) or an application deployment that is a part of a deployer task. For application deployments, a subapplication (and a subproject by Perforce) should be provided.For a list of object types in CloudBees CD/RO, refer to Object types in CloudBees CD/RO. |
flowRuntimeIdUUIDrequiredThe ID of the flow runtime. stageNameStringrequiredThe name of the stage. taskNameStringrequiredThe name of the task. actionStringoptionalAction to execute: rerun (default), skip or fail the task. Possible values: "fail" , "rerun" , "skip" commentStringoptionalComment provided while retry an action on the manual process step or manual task or gate task. gateTypeStringoptionalThe type of the gate. Possible values: "POST" , "PRE" subapplicationStringoptionalThe name of the sub application. subprojectStringoptionalThe name of the project that contains the sub application. |
Usage
Perl
$cmdr->retryTask( "test-flowRuntimeId", # flowRuntimeId "test-stageName", # stageName "test-taskName" # taskName # optionals );
ectool
ectool retryTask \ "test-flowRuntimeId" `# flowRuntimeId` \ "test-stageName" `# stageName` \ "test-taskName" `# taskName` \ # optionals