Language

PipelineAttemptBuilder.Retry Method

Definition

Overloads

Name Description
Retry()

Retries the pipeline graph. Stages which failed in the previous attempt will be scheduled to run again, retrying only failed jobs and the corresponding downstream job dependencies. All downstream dependencies of a failed stage are scheduled to run a completely new attempt.

Retry(Stage)

Retries the specified stage graph. Jobs which failed in the previous attempt will be scheduled to run in addition to all downstream dependencies of the failed jobs.

Retry()

Retries the pipeline graph. Stages which failed in the previous attempt will be scheduled to run again, retrying only failed jobs and the corresponding downstream job dependencies. All downstream dependencies of a failed stage are scheduled to run a completely new attempt.

public System.Collections.Generic.IList<Microsoft.TeamFoundation.DistributedTask.Pipelines.Runtime.StageAttempt> Retry();
member this.Retry : unit -> System.Collections.Generic.IList<Microsoft.TeamFoundation.DistributedTask.Pipelines.Runtime.StageAttempt>
Public Function Retry () As IList(Of StageAttempt)

Returns

A list of new attempts which should be run

Applies to

Retry(Stage)

Retries the specified stage graph. Jobs which failed in the previous attempt will be scheduled to run in addition to all downstream dependencies of the failed jobs.

public Microsoft.TeamFoundation.DistributedTask.Pipelines.Runtime.StageAttempt Retry(Microsoft.TeamFoundation.DistributedTask.Pipelines.Stage stage);
member this.Retry : Microsoft.TeamFoundation.DistributedTask.Pipelines.Stage -> Microsoft.TeamFoundation.DistributedTask.Pipelines.Runtime.StageAttempt

Parameters

stage
Stage

The stage which should be retried

Returns

Applies to