TaskExecution interface
Proprietà
| exec |
Attività di utilità da eseguire. Specificando questo significa che questa definizione di attività è semplicemente una meta task per chiamare un'altra attività. Ciò è utile per le attività che chiamano attività di utilità come PowerShell e la riga di comando |
| platform |
Se un'attività eseguirà codice, fornisce il tipo/script e così via. informazioni per piattaforma. Ad esempio, potrebbe sembrare. net45: { typeName: "Microsoft.TeamFoundation.Automation.Tasks.PowerShellTask", assemblyName: "Microsoft.TeamFoundation.Automation.Tasks.PowerShell.dll" } net20: { typeName: "Microsoft.TeamFoundation.Automation.Tasks.PowerShellTask", assemblyName: "Microsoft.TeamFoundation.Automation.Tasks.PowerShell.dll" } java: { jar: "powershelltask.tasks.automation.teamfoundation.microsoft.com", } node: { script: "powershellhost.js", } } |
Dettagli proprietà
execTask
Attività di utilità da eseguire. Specificando questo significa che questa definizione di attività è semplicemente una meta task per chiamare un'altra attività. Ciò è utile per le attività che chiamano attività di utilità come PowerShell e la riga di comando
execTask: TaskReference
Valore della proprietà
platformInstructions
Se un'attività eseguirà codice, fornisce il tipo/script e così via. informazioni per piattaforma. Ad esempio, potrebbe sembrare. net45: { typeName: "Microsoft.TeamFoundation.Automation.Tasks.PowerShellTask", assemblyName: "Microsoft.TeamFoundation.Automation.Tasks.PowerShell.dll" } net20: { typeName: "Microsoft.TeamFoundation.Automation.Tasks.PowerShellTask", assemblyName: "Microsoft.TeamFoundation.Automation.Tasks.PowerShell.dll" } java: { jar: "powershelltask.tasks.automation.teamfoundation.microsoft.com", } node: { script: "powershellhost.js", } }
platformInstructions: {[key: string]: {[key: string]: string}}
Valore della proprietà
{[key: string]: {[key: string]: string}}