interface WorkflowTask {
    alwaysRun?: boolean;
    checkConfig?: CheckConfigurationReference;
    condition?: string;
    continueOnError?: boolean;
    definitionType?: string;
    enabled?: boolean;
    environment?: { [key: string]: string };
    inputs?: { [key: string]: string };
    name?: string;
    overrideInputs?: { [key: string]: string };
    refName?: string;
    retryCountOnTaskFailure?: number;
    taskId: string;
    timeoutInMinutes?: number;
    version: string;
}

Properties

alwaysRun?: boolean

Gets or sets as the task always run or not.

Gets or sets the check configuration if check is injected as gate.

condition?: string

Gets or sets the task condition.

continueOnError?: boolean

Gets or sets as the task continue run on error or not.

definitionType?: string

Gets or sets the task definition type. Example:- 'Agent', DeploymentGroup', 'Server' or 'ServerGate'.

enabled?: boolean

Gets or sets as the task enabled or not.

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

Gets or sets the task environment variables.

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

Gets or sets the task inputs.

name?: string

Gets or sets the name of the task.

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

Gets or sets the task override inputs.

refName?: string

Gets or sets the reference name of the task.

retryCountOnTaskFailure?: number

Gets or sets the task retryCount.

taskId: string

Gets or sets the ID of the task.

timeoutInMinutes?: number

Gets or sets the task timeout.

version: string

Gets or sets the version of the task.