-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
Copy pathtask.loc.json
184 lines (184 loc) · 5.27 KB
/
task.loc.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
{
"id": "d8b84976-e99a-4b86-b885-4849694435b0",
"name": "ArchiveFiles",
"friendlyName": "ms-resource:loc.friendlyName",
"description": "ms-resource:loc.description",
"author": "Microsoft Corporation",
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/archive-files",
"helpMarkDown": "ms-resource:loc.helpMarkDown",
"category": "Utility",
"visibility": [
"Build",
"Release"
],
"runsOn": [
"Agent",
"DeploymentGroup"
],
"demands": [],
"minimumAgentVersion": "2.182.1",
"version": {
"Major": 2,
"Minor": 249,
"Patch": 1
},
"groups": [
{
"name": "archive",
"displayName": "ms-resource:loc.group.displayName.archive",
"isExpanded": true
}
],
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",
"inputs": [
{
"name": "rootFolderOrFile",
"type": "filePath",
"label": "ms-resource:loc.input.label.rootFolderOrFile",
"defaultValue": "$(Build.BinariesDirectory)",
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.rootFolderOrFile"
},
{
"name": "includeRootFolder",
"type": "boolean",
"label": "ms-resource:loc.input.label.includeRootFolder",
"defaultValue": true,
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.includeRootFolder"
},
{
"name": "archiveType",
"type": "pickList",
"label": "ms-resource:loc.input.label.archiveType",
"required": true,
"defaultValue": "zip",
"helpMarkDown": "ms-resource:loc.input.help.archiveType",
"groupName": "archive",
"options": {
"zip": "zip",
"7z": "7z",
"tar": "tar",
"wim": "wim"
}
},
{
"name": "sevenZipCompression",
"type": "pickList",
"label": "ms-resource:loc.input.label.sevenZipCompression",
"required": false,
"defaultValue": "normal",
"helpMarkDown": "ms-resource:loc.input.help.sevenZipCompression",
"groupName": "archive",
"visibleRule": "archiveType = 7z",
"options": {
"ultra": "Ultra",
"maximum": "Maximum",
"normal": "Normal",
"fast": "Fast",
"fastest": "Fastest",
"none": "None"
}
},
{
"name": "decoderCompatibility",
"type": "int",
"label": "ms-resource:loc.input.label.decoderCompatibility",
"required": false,
"defaultValue": 1602,
"helpMarkDown": "ms-resource:loc.input.help.decoderCompatibility",
"groupName": "archive",
"visibleRule": "archiveType = 7z"
},
{
"name": "tarCompression",
"type": "pickList",
"label": "ms-resource:loc.input.label.tarCompression",
"required": false,
"defaultValue": "gz",
"helpMarkDown": "ms-resource:loc.input.help.tarCompression",
"groupName": "archive",
"visibleRule": "archiveType = tar",
"options": {
"gz": "gz",
"bz2": "bz2",
"xz": "xz",
"none": "None"
}
},
{
"name": "archiveFile",
"type": "filePath",
"label": "ms-resource:loc.input.label.archiveFile",
"defaultValue": "$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip",
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.archiveFile",
"groupName": "archive"
},
{
"name": "replaceExistingArchive",
"type": "boolean",
"label": "ms-resource:loc.input.label.replaceExistingArchive",
"required": true,
"defaultValue": "true",
"helpMarkDown": "ms-resource:loc.input.help.replaceExistingArchive",
"groupName": "archive"
},
{
"name": "verbose",
"type": "boolean",
"label": "ms-resource:loc.input.label.verbose",
"required": false,
"defaultValue": false,
"helpMarkDown": "ms-resource:loc.input.help.verbose",
"groupName": "archive"
},
{
"name": "quiet",
"type": "boolean",
"label": "ms-resource:loc.input.label.quiet",
"required": false,
"defaultValue": false,
"helpMarkDown": "ms-resource:loc.input.help.quiet",
"groupName": "archive"
}
],
"execution": {
"Node10": {
"target": "archivefiles.js",
"argumentFormat": ""
},
"Node16": {
"target": "archivefiles.js",
"argumentFormat": ""
},
"Node20_1": {
"target": "archivefiles.js",
"argumentFormat": ""
}
},
"restrictions": {
"commands": {
"mode": "restricted"
},
"settableVariables": {
"allowed": []
}
},
"messages": {
"Filename": "ms-resource:loc.messages.Filename",
"TarExists": "ms-resource:loc.messages.TarExists",
"RemoveBeforeCreation": "ms-resource:loc.messages.RemoveBeforeCreation",
"AlreadyExists": "ms-resource:loc.messages.AlreadyExists",
"ArchiveCreationFailedWithError": "ms-resource:loc.messages.ArchiveCreationFailedWithError",
"ArchiveFileExistsButNotAFile": "ms-resource:loc.messages.ArchiveFileExistsButNotAFile",
"FailedArchiveFile": "ms-resource:loc.messages.FailedArchiveFile",
"FoundNFiles": "ms-resource:loc.messages.FoundNFiles",
"ArchivingFile": "ms-resource:loc.messages.ArchivingFile",
"MoreFiles": "ms-resource:loc.messages.MoreFiles"
},
"_buildConfigMapping": {
"Default": "2.249.0",
"Node20-225": "2.249.1"
}
}