-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtask.json
116 lines (115 loc) · 3.81 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
{
"id": "9B5EF860-D1EA-4D6E-9446-32487C223E54",
"name": "FTPUploader",
"friendlyName": "FTP Uploader",
"description": "For uploading files using FTP protocol.",
"category": "Utility",
"author": "januskamphansen",
"version": {
"Major": 1,
"Minor": 0,
"Patch": 29
},
"groups": [
{
"name": "advanced",
"displayName": "Advanced Properties",
"isExpanded": true
}
],
"inputs": [
{
"name": "sourcePath",
"type": "filePath",
"label": "Source Path",
"defaultValue": "",
"required": true,
"helpMarkDown": "File(s) to be uploaded. Wildcards can be used. For example, `**` for all files in all subfolders."
},
{
"name": "serverName",
"type": "string",
"label": "FTP Address",
"defaultValue": "",
"required": true,
"helpMarkDown": "Specify the Address where the file(s) will be uploaded to. Eg. ftp://ftp.mysite.com/"
},
{
"name": "username",
"type": "string",
"label": "Username",
"defaultValue": "",
"required": true,
"helpMarkDown": "The username for the FTP server. Use anonymous for anonymous login."
},
{
"name": "password",
"type": "string",
"label": "Password",
"defaultValue": "",
"required": true,
"helpMarkDown": "The password for the FTP server. Use your e-mail address for anonymous login."
},
{
"name": "remotePath",
"type": "string",
"label": "Remote Path",
"defaultValue": "/",
"required": true,
"helpMarkDown": "The folder on the FTP server where the files are to be put."
},
{
"name": "useBinary",
"type": "boolean",
"label": "Use binary",
"defaultValue": "false",
"required": false,
"helpMarkDown": "Specifies the data type for file transfers.",
"groupName": "advanced"
},
{
"name": "ignoreUnchangedFiles",
"type": "boolean",
"label": "Ignore Unchanged Files",
"defaultValue": "false",
"required": false,
"helpMarkDown": "Ignore files with same size and older date.",
"groupName": "advanced"
},
{
"name": "excludeFilter",
"type": "string",
"label": "Exclude files",
"defaultValue": "'*.vb','*.vbproj'",
"required": false,
"helpMarkDown": "List of files or file-type that is not to be uploaded.",
"groupName": "advanced"
},
{
"name": "deleteOldFiles",
"type": "boolean",
"label": "Delete old Files",
"defaultValue": "false",
"required": false,
"helpMarkDown": "Delete old files on FTP server before uploading.",
"groupName": "advanced"
},
{
"name": "deploymentFilesOnly",
"type": "boolean",
"label": "Publish only deployment files",
"defaultValue": "true",
"required": false,
"helpMarkDown": "Will exclude 'Obj' and 'My Project' folder and following extensions: *.vb, *.cs, *.vbproj, *.csproj, *.user and *.vspscc",
"groupName": "advanced"
}
],
"instanceNameFormat": "Upload $(files) using FTP",
"execution": {
"PowerShell": {
"target": "$(currentDirectory)\\FTPUpload.ps1",
"argumentFormat": "",
"workingDirectory": "$(currentDirectory)"
}
}
}