A reference to a task.

interface TaskInstance {
    alwaysRun?: boolean;
    condition?: string;
    continueOnError?: boolean;
    displayName?: string;
    enabled?: boolean;
    environment?: { [key: string]: string };
    id?: string;
    inputs?: { [key: string]: string };
    instanceId?: string;
    name?: string;
    refName?: string;
    retryCountOnTaskFailure?: number;
    timeoutInMinutes?: number;
    version?: string;
}

Hierarchy (View Summary)

Properties

alwaysRun?: boolean
condition?: string
continueOnError?: boolean
displayName?: string
enabled?: boolean
environment?: { [key: string]: string }
id?: string

The ID of the task definition. Corresponds to the id value of task.json file.
Example: CmdLineV2 { "id": "D9BAFED4-0B18-4F58-968D-86655B4D2CE9" }

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

A dictionary of inputs specific to a task definition. Corresponds to inputs value of task.json file.

instanceId?: string
name?: string

The name of the task definition. Corresponds to the name value of task.json file.
Example: CmdLineV2 { "name": "CmdLine" }

refName?: string
retryCountOnTaskFailure?: number
timeoutInMinutes?: number
version?: string

The version of the task definition. Corresponds to the version value of task.json file.
Example: CmdLineV2 { "version": { "Major": 2, "Minor": 212, "Patch": 0 } }