Represents a step in a build phase.

interface BuildDefinitionStep {
    alwaysRun?: boolean;
    condition?: string;
    continueOnError?: boolean;
    displayName?: string;
    enabled?: boolean;
    environment?: { [key: string]: string };
    inputs?: { [key: string]: string };
    refName?: string;
    retryCountOnTaskFailure?: number;
    task: TaskDefinitionReference;
    timeoutInMinutes?: number;
}

Properties

alwaysRun?: boolean

Indicates whether this step should run even if a previous step fails.

condition?: string

A condition that determines whether this step should run.

continueOnError?: boolean

Indicates whether the phase should continue even if this step fails.

displayName?: string

The display name for this step.

enabled?: boolean

Indicates whether the step is enabled.

environment?: { [key: string]: string }
inputs?: { [key: string]: string }
refName?: string

The reference name for this step.

retryCountOnTaskFailure?: number

Number of retries.

The task associated with this step.

timeoutInMinutes?: number

The time, in minutes, that this step is allowed to run.