PipelineBuilder 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.

Provides a mechanism for customization of pipeline construction by different hosting environments.

C#
public class PipelineBuilder
Inheritance
PipelineBuilder

Constructors

PipelineBuilder()
PipelineBuilder(EvaluationOptions, ICounterStore, IResourceStore, IList<IStepProvider>, ITaskStore, ITaskTemplateStore, IPackageStore)

Initilaizes a new PipelineBuilder instance with the specified services used for resolution of resources available to pipelines.

PipelineBuilder(ITaskStore, ISecretStore, IResourceStore, ITaskTemplateStore, IPackageStore)

Initilaizes a new PipelineBuilder instance with the specified services used for resolution of resources available to pipelines.

PipelineBuilder(PipelineContextBuilder, ITaskTemplateStore, IPackageStore)

Properties

ContextBuilder

Gets or sets the root environment builder.

DefaultCheckoutOptions
DefaultQueue

Gets or sets the default queue which is assigned automatically to phases with no target and existing agent queue targets without a queue specified.

DefaultWorkspaceOptions
InlineResources
ProcessParameters

Gets the list of process parameters, if any, which should be used during process valiation.

SystemVariables

Gets the system variables included in the pipeline.

VariableGroups

Gets the list of variable groups included in the pipeline.

Variables

Gets a list of variable sets included in the pipeline.

Methods

Build(IList<Phase>, BuildOptions)

Builds a new PipelineProcess instance using ContextBuilder.

Build(IList<Phase>, ValidationOptions)

Builds a new PipelineProcess instance using a new environment instance based on the values configured on the builder.

Build(IList<Phase>)

Builds a new PipelineProcess instance using ContextBuilder.

Build(IList<Stage>, BuildOptions)

Builds a new PipelineProcess instance using ContextBuilder.

Build(IList<Stage>)

Builds a new PipelineProcess instance using ContextBuilder.

Build(IList<Step>, BuildOptions)

Builds a new PipelineProcess instance using ContextBuilder.

Build(IList<Step>)

Builds a new PipelineProcess instance using ContextBuilder.

Build(PipelineBuildContext, IList<Phase>)

Builds a new PipelineProcess instance using the specified environment.

Build(PipelineBuildContext, IList<Stage>)
Build(PipelineBuildContext, IList<Step>)
Build(PipelineEnvironment, IList<Phase>, ValidationOptions)

Builds a new PipelineProcess instance using the specified environment.

Build(PipelineEnvironment, IList<Phase>)

Builds a new PipelineProcess instance using the specified environment.

CreateEnvironment()

Creates a new PipelineEnvironment instance suitable for later invoking Build(PipelineEnvironment, IList<Phase>).

Validate(PipelineBuildContext, PipelineProcess)
Validate(PipelineProcess, BuildOptions)

Applies to

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