TaskInstance interface
工作的參考。
- Extends
屬性
| always |
|
| condition | |
| continue |
|
| display |
|
| enabled | |
| environment | |
| instance |
|
| ref |
|
| retry |
|
| timeout |
繼承的屬性
| build |
工作定義的組建組態。 對應至 task.json 檔案的版本值。 <br />範例: CmdLineV2 { “_buildConfigMapping”: { “Default”: “2.232.2”, “Node20_229_7”: “2.232.3” } } |
| contribution |
|
| contribution |
|
| id | 工作定義的識別碼。 對應至 task.json 檔案的標識碼值。 <br />範例: CmdLineV2 { “id”: “D9BAFED4-0B18-4F58-968D-86655B4D2CE9” } |
| inputs | 工作定義特有的輸入字典。 對應至檔案 task.json 的輸入值。 |
| name | 工作定義的名稱。 對應至 task.json 檔案的名稱值。 <br />範例: CmdLineV2 { “name”: “CmdLine” } |
| version | 工作定義的版本。 對應至 task.json 檔案的版本值。 <br />範例: CmdLineV2 { “version”: { “Major”: 2, “Minor”: 212, “Patch”: 0 } } |
屬性詳細資料
alwaysRun
alwaysRun: boolean
屬性值
boolean
condition
condition: string
屬性值
string
continueOnError
continueOnError: boolean
屬性值
boolean
displayName
displayName: string
屬性值
string
enabled
enabled: boolean
屬性值
boolean
environment
environment: {[key: string]: string}
屬性值
{[key: string]: string}
instanceId
instanceId: string
屬性值
string
refName
refName: string
屬性值
string
retryCountOnTaskFailure
retryCountOnTaskFailure: number
屬性值
number
timeoutInMinutes
timeoutInMinutes: number
屬性值
number
繼承的屬性詳細資料
buildConfig
工作定義的組建組態。 對應至 task.json 檔案的版本值。 <br />範例: CmdLineV2 { “_buildConfigMapping”: { “Default”: “2.232.2”, “Node20_229_7”: “2.232.3” } }
buildConfig: string
屬性值
string
contributionIdentifier
contributionVersion
id
工作定義的識別碼。 對應至 task.json 檔案的標識碼值。 <br />範例: CmdLineV2 { “id”: “D9BAFED4-0B18-4F58-968D-86655B4D2CE9” }
id: string
屬性值
string
inputs
工作定義特有的輸入字典。 對應至檔案 task.json 的輸入值。
inputs: {[key: string]: string}
屬性值
{[key: string]: string}
name
工作定義的名稱。 對應至 task.json 檔案的名稱值。 <br />範例: CmdLineV2 { “name”: “CmdLine” }
name: string
屬性值
string
version
工作定義的版本。 對應至 task.json 檔案的版本值。 <br />範例: CmdLineV2 { “version”: { “Major”: 2, “Minor”: 212, “Patch”: 0 } }
version: string
屬性值
string