編輯

共用方式為


Phase interface

Represents a phase of a build definition.

Properties

condition

The condition that must be true for this phase to execute.

dependencies
jobAuthorizationScope

The job authorization scope for builds queued against this definition.

jobCancelTimeoutInMinutes

The cancellation timeout, in minutes, for builds queued against this definition.

jobTimeoutInMinutes

The job execution timeout, in minutes, for builds queued against this definition.

name

The name of the phase.

refName

The unique ref name of the phase.

steps
target

The target (agent, server, etc.) for this phase.

variables

Property Details

condition

The condition that must be true for this phase to execute.

condition: string

Property Value

string

dependencies

dependencies: Dependency[]

Property Value

jobAuthorizationScope

The job authorization scope for builds queued against this definition.

jobAuthorizationScope: BuildAuthorizationScope

Property Value

jobCancelTimeoutInMinutes

The cancellation timeout, in minutes, for builds queued against this definition.

jobCancelTimeoutInMinutes: number

Property Value

number

jobTimeoutInMinutes

The job execution timeout, in minutes, for builds queued against this definition.

jobTimeoutInMinutes: number

Property Value

number

name

The name of the phase.

name: string

Property Value

string

refName

The unique ref name of the phase.

refName: string

Property Value

string

steps

steps: BuildDefinitionStep[]

Property Value

target

The target (agent, server, etc.) for this phase.

target: PhaseTarget

Property Value

variables

variables: {[key: string]: BuildDefinitionVariable}

Property Value

{[key: string]: BuildDefinitionVariable}