/
task.json
147 lines (147 loc) · 4.03 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"id": "22683a08-0dbe-4fe8-8c53-4606fcb32752",
"name": "ShareExtension",
"friendlyName": "Share Extension",
"description": "Share a published extension with a Azure Devops organisation",
"author": "Microsoft Corporation",
"helpMarkDown": "",
"category": "Deploy",
"version": {
"Major": 1,
"Minor": 2,
"Patch": 0
},
"visibility": [
"Build",
"Release"
],
"demands": [
"npm"
],
"minimumAgentVersion": "1.83.0",
"groups": [
{
"name": "extension",
"displayName": "Extension",
"isExpanded": true
},
{
"name": "share",
"displayName": "Share",
"isExpanded": true
},
{
"name": "advanced",
"displayName": "Advanced",
"isExpanded": false
}
],
"instanceNameFormat": "Share Extension",
"inputs": [
{
"name": "connectTo",
"type": "radio",
"label": "Connect to",
"required": true,
"defaultValue": "VsTeam",
"helpMarkDown": "Connect to Visual Studio Marketplace. TFS is not supported for the Share command.",
"options": {
"VsTeam": "Visual Studio Marketplace"
}
},
{
"name": "connectedServiceName",
"type": "connectedService:VstsMarketplacePublishing",
"label": "Visual Studio Marketplace connection",
"required": true,
"helpMarkDown": "Service endpoint connection to install the extension.",
"visibleRule": "connectTo=VsTeam"
},
{
"name": "method",
"type": "radio",
"label": "Share using",
"required": true,
"defaultValue": "id",
"helpMarkDown": "Share using either an existing VSIX or using the Publisher and Extension ID.",
"options": {
"id": "Publisher + Extension ID",
"vsix": "VSIX file"
},
"groupName": "extension"
},
{
"name": "publisherId",
"type": "string",
"label": "Publisher ID",
"defaultValue": "",
"required": true,
"helpMarkDown": "Publisher ID of the extension to be shared.",
"groupName": "extension",
"visibleRule": "method = id"
},
{
"name": "extensionId",
"type": "string",
"label": "Extension ID",
"defaultValue": "",
"helpMarkDown": "Extension ID of the extension to be shared",
"required": true,
"groupName": "extension",
"visibleRule": "method = id"
},
{
"name": "extensionTag",
"type": "string",
"label": "Extension Tag",
"defaultValue": "",
"helpMarkDown": "Extension Tag to append to the extension id",
"required": false,
"groupName": "extension",
"visibleRule": "method = id"
},
{
"name": "vsixFile",
"type": "filePath",
"label": "VSIX file",
"defaultValue": "",
"required": true,
"helpMarkDown": "VSIX file of the extension to be shared. Supports wildcards.",
"visibleRule": "method = vsix",
"groupName": "extension"
},
{
"name": "accounts",
"type": "string",
"label": "Share with",
"defaultValue": "",
"helpMarkDown": "Comma separated list of organisations where to install the extension (e.g. org_x,org_y,org_z)",
"required": true,
"groupName": "share"
},
{
"name": "arguments",
"type": "string",
"label": "Arguments",
"defaultValue": "",
"helpMarkDown": "Additional arguments passed to the package and publishing tool.",
"required": false,
"groupName": "advanced"
},
{
"name": "cwd",
"type": "filePath",
"label": "Working Directory",
"defaultValue": "",
"required": false,
"helpMarkDown": "Working directory to run the package and publishing process from. Defaults to the folder where the manifest is located.",
"groupName": "advanced"
}
],
"execution": {
"Node": {
"target": "ShareExtension/ShareExtension.js",
"argumentFormat": ""
}
}
}