Represents tasks in the task group.

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

Properties

alwaysRun?: boolean

Gets or sets as 'true' to run the task always, 'false' otherwise.

condition?: string

Gets or sets condition for the task.

continueOnError?: boolean

Gets or sets as 'true' to continue on error, 'false' otherwise.

displayName?: string

Gets or sets the display name.

enabled?: boolean

Gets or sets as task is enabled or not.

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

Gets dictionary of environment variables.

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

Gets or sets dictionary of inputs.

retryCountOnTaskFailure?: number

Gets or sets the maximum number of retries

Gets or sets the reference of the task.

timeoutInMinutes?: number

Gets or sets the maximum time, in minutes, that a task is allowed to execute on agent before being cancelled by server. A zero value indicates an infinite timeout.