TaskInstance interface
A reference to a task.
- Extends
Properties
always |
|
condition | |
continue |
|
display |
|
enabled | |
environment | |
instance |
|
ref |
|
retry |
|
timeout |
Inherited Properties
build |
The build config of the task definition. Corresponds to the version value of task.json file. <br />Example: CmdLineV2 { "_buildConfigMapping": { "Default": "2.232.2", "Node20_229_7": "2.232.3" } } |
contribution |
|
contribution |
|
id | The ID of the task definition. Corresponds to the id value of task.json file. <br />Example: CmdLineV2 { "id": "D9BAFED4-0B18-4F58-968D-86655B4D2CE9" } |
inputs | A dictionary of inputs specific to a task definition. Corresponds to inputs value of task.json file. |
name | The name of the task definition. Corresponds to the name value of task.json file. <br />Example: CmdLineV2 { "name": "CmdLine" } |
version | The version of the task definition. Corresponds to the version value of task.json file. <br />Example: CmdLineV2 { "version": { "Major": 2, "Minor": 212, "Patch": 0 } } |
Property Details
alwaysRun
alwaysRun: boolean
Property Value
boolean
condition
condition: string
Property Value
string
continueOnError
continueOnError: boolean
Property Value
boolean
displayName
displayName: string
Property Value
string
enabled
enabled: boolean
Property Value
boolean
environment
environment: {[key: string]: string}
Property Value
{[key: string]: string}
instanceId
instanceId: string
Property Value
string
refName
refName: string
Property Value
string
retryCountOnTaskFailure
retryCountOnTaskFailure: number
Property Value
number
timeoutInMinutes
timeoutInMinutes: number
Property Value
number
Inherited Property Details
buildConfig
The build config of the task definition. Corresponds to the version value of task.json file. <br />Example: CmdLineV2 { "_buildConfigMapping": { "Default": "2.232.2", "Node20_229_7": "2.232.3" } }
buildConfig: string
Property Value
string
Inherited From TaskReference.buildConfig
contributionIdentifier
contributionIdentifier: string
Property Value
string
Inherited From TaskReference.contributionIdentifier
contributionVersion
id
The ID of the task definition. Corresponds to the id value of task.json file. <br />Example: CmdLineV2 { "id": "D9BAFED4-0B18-4F58-968D-86655B4D2CE9" }
id: string
Property Value
string
Inherited From TaskReference.id
inputs
A dictionary of inputs specific to a task definition. Corresponds to inputs value of task.json file.
inputs: {[key: string]: string}
Property Value
{[key: string]: string}
Inherited From TaskReference.inputs
name
The name of the task definition. Corresponds to the name value of task.json file. <br />Example: CmdLineV2 { "name": "CmdLine" }
name: string
Property Value
string
Inherited From TaskReference.name
version
The version of the task definition. Corresponds to the version value of task.json file. <br />Example: CmdLineV2 { "version": { "Major": 2, "Minor": 212, "Patch": 0 } }
version: string
Property Value
string
Inherited From TaskReference.version