Phase Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

C#
[System.Runtime.Serialization.DataContract]
public sealed class Phase : Microsoft.TeamFoundation.DistributedTask.Pipelines.IGraphNode
Inheritance
Phase
Attributes
Implements

Constructors

Properties

Condition

Gets or sets a condition which is evaluated after all dependencies have been satisfied and determines whether or not the jobs within this phase should be executed or skipped.

ContinueOnError

Gets or sets a value indicating whether or not failed jobs are considered a termination condition for the phase.

Dependencies

Gets the list of dependencies, if any, which control the graph of execution.

DependsOn

Gets the set of phases which must complete before this phase begins execution.

DisplayName

Gets or sets the display name for this phase.

Name

Gets or sets the name for this phase.

Steps

Gets the list of steps associated with this phase. At runtime the steps will be used as a template for the execution of a job.

Target

Gets or sets the target for this phase.

Variables

Gets the set of variables which will be provided to the phase steps.

Methods

CreateJob(PipelineExecutionContext, String)

Creates the specified job using the provided execution context and name.

CreateJobContext(PhaseExecutionContext, String, Int32)

Creates the specified job using the provided execution context and name. A new execution context is returned which includes new variables set by the job.

Expand(PhaseExecutionContext, JobExpansionOptions)

Expands the template using the provided execution context and returns the list of jobs.

Expand(PipelineExecutionContext)

Expands the template using the provided execution context and returns the list of jobs.

Explicit Interface Implementations

IGraphNode.Validate(PipelineBuildContext, ValidationResult)

Resolves external references and ensures the steps are compatible with the selected target.

Applies to

Produkto Mga Bersyon
Azure DevOps Services .NET SDK preview, latest