/
task.json
81 lines (81 loc) · 2.76 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
{
"id": "E3CF3806-AD30-4EC4-8F1E-8ECD98771AA0",
"name": "DownloadFileshareArtifacts",
"friendlyName": "Download artifacts from file share",
"description": "Download artifacts from a file share, like \\\\share\\drop",
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/download-fileshare-artifacts",
"helpMarkDown": "",
"category": "Utility",
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 154,
"Patch": 0
},
"groups": [
{
"name": "advanced",
"displayName": "Advanced",
"isExpanded": true
}
],
"demands": [],
"inputs": [
{
"name": "filesharePath",
"type": "string",
"label": "File share path",
"required": true,
"helpMarkDown": "File share path e.g \\\\server\\folder"
},
{
"name": "artifactName",
"type": "string",
"label": "Artifact name",
"defaultValue": "",
"required": true,
"helpMarkDown": "The name of the artifact to download e.g drop"
},
{
"name": "itemPattern",
"type": "multiLine",
"label": "Matching pattern",
"defaultValue": "**",
"required": false,
"properties": {
"rows": "3",
"resizable": "true"
},
"helpMarkDown": "Specify files to be downloaded as multi line minimatch pattern. [More Information](https://aka.ms/minimatchexamples) <p>The default pattern (\\*\\*) will download all files within the artifact.</p>"
},
{
"name": "downloadPath",
"type": "string",
"label": "Download path",
"defaultValue": "$(System.ArtifactsDirectory)",
"required": true,
"helpMarkDown": "Path on the agent machine where the artifacts will be downloaded"
},
{
"name": "parallelizationLimit",
"type": "string",
"label": "Parallelization limit",
"defaultValue": "8",
"groupName": "advanced",
"required": false,
"helpMarkDown": "Number of files to download simultaneously"
}
],
"instanceNameFormat": "Download artifacts from a file share",
"execution": {
"Node": {
"target": "main.js",
"argumentFormat": ""
}
},
"messages": {
"DownloadArtifacts": "Downloading artifact %s from: %s",
"ArtifactsSuccessfullyDownloaded": "Successfully downloaded artifacts to %s",
"ArtifactNameDirectoryNotFound": "Directory '%s' does not exist. Falling back to parent directory: %s"
}
}