-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtask.json
48 lines (47 loc) · 1.35 KB
/
task.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"id": "5f8f1adf-42bd-442d-8a0f-ae009a66b99e",
"name": "VariableExpandTask",
"friendlyName": "Expand Variable [DEPRECATED]",
"deprecated": true,
"description": "Expands a variable on agent version 1.x.",
"helpMarkDown": "Version: #{Build.BuildNumber}#. [More Information](https://github.com/jessehouwing/azure-pipelines-variable-tasks/wiki)",
"category": "Utility",
"author": "Jesse Houwing",
"version": {
"Major": 1,
"Minor": 5,
"Patch": 0
},
"visibility": [
"Build",
"Release"
],
"minimumAgentVersion": "1.83.0",
"groups": [
],
"inputs": [
{
"defaultValue": "*",
"helpMarkdown": "List of variables to expand separated by `,`, `;` or newline. Only supply the variable name and do not include `$(...)`. To expand all variables, enter `*`.",
"label": "Variables",
"name": "VariableNames",
"required": true,
"type": "multiLine"
}
],
"instanceNameFormat": "Expand variables: '$(VariableNames)' on agent version 1.x",
"execution": {
"PowerShell": {
"target": "$(currentDirectory)\\vsts-variable-expand.v1.ps1",
"argumentFormat": "",
"workingDirectory": "$(currentDirectory)",
"platforms": [
"windows"
]
},
"PowerShell3": {
"target": "$(currentDirectory)\\vsts-variable-expand.v3.ps1",
"argumentFormat": ""
}
}
}