forked from rschiefer/MSDeployAllTheThings
/
task.json
99 lines (98 loc) · 2.44 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
{
"id": "BFB8E654-51D4-4ED0-8E04-2B3F0F4FCB6D",
"name": "MSDeployPackageSync",
"friendlyName": "MSDeploy Package Sync",
"description": "Publish a MSDeploy package.",
"helpMarkDown": "",
"category": "Deploy",
"visibility": [
"Build",
"Release"
],
"author": "Robb Schiefer Jr. (@chief7)",
"version": {
"Major": 0,
"Minor": 2,
"Patch": 0
},
"demands": [
],
"minimumAgentVersion": "1.90.0",
"inputs": [
{
"name": "Package",
"type": "filePath",
"label": "Web Deploy Package",
"defaultValue": "",
"helpMarkDown": "Path to the MSDeploy package under the default artifact directory.",
"required": true
},
{
"name": "DestinationProvider",
"type": "string",
"label": "Destination Provider",
"defaultValue": "auto",
"required": true,
"helpMarkDown": "The destination MSDeploy provider.",
"properties": {
"EditableOptions": "True"
}
},
{
"name": "DestinationComputer",
"type": "string",
"label": "Destination Computer",
"defaultValue": "",
"required": false,
"helpMarkDown": "The destination computer to deploy the MSDeploy package to. If blank, will perform operations on agent machine. For an Azure website the format should be https://[SiteName].scm.azurewebsites.net:443/msdeploy.axd?site=[SiteName].",
"properties": {
"EditableOptions": "True"
}
},
{
"name": "AuthType",
"type": "string",
"label": "AuthType",
"defaultValue": "ntlm",
"required": false,
"properties": {
"EditableOptions": "True"
}
},
{
"name": "Username",
"type": "string",
"label": "Username",
"defaultValue": "",
"required": false,
"properties": {
"EditableOptions": "True"
}
},
{
"name": "Password",
"type": "string",
"label": "Password",
"defaultValue": "",
"required": false,
"properties": {
"EditableOptions": "True"
}
},
{
"name": "AdditionalArguments",
"type": "multiLine",
"label": "Additional Arguments",
"defaultValue": "",
"required": false
}
],
"instanceNameFormat": "MSDeploy Package Sync: $(WebSiteName)",
"execution": {
"PowerShell": {
"target": "$(currentDirectory)\\MSDeployPackageSync.ps1",
"argumentFormat": "",
"workingDirectory": "$(currentDirectory)"
}
}
}