forked from colindembovsky/cols-agent-tasks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask.json
71 lines (71 loc) · 1.95 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
{
"id": "81b5871d-8bda-4fc4-b70f-9b88e7bd2162",
"name": "MMCDACCompare",
"friendlyName": "Compare Two DacPac",
"description": "Compare Two DacPac",
"author": "BBAKER",
"helpMarkDown": "[More Information](https://github.com/colindembovsky/cols-agent-tasks/tree/master/Tasks/DacPacReport)",
"category": "Build",
"visibility": [
"Build",
"Release"
],
"demands": [
"sqlpackage"
],
"version": {
"Major": "1",
"Minor": "0",
"Patch": "16"
},
"minimumAgentVersion": "1.91.0",
"instanceNameFormat": "DacPac Schema Compare $(dacpacName).dacpac",
"groups": [
{
"name": "advanced",
"displayName": "Advanced",
"isExpanded": true
}
],
"inputs": [
{
"name": "sourceDacpac",
"type": "string",
"label": "Source DACPAC",
"defaultValue": "$(System.DefaultWorkingDirectory)/<BUILDNAME>/drop/src/MMC.RDW/bin/Output/<>.dacpac",
"required": false,
"helpMarkDown": "This DACPAC is the source. Include full path, name and extension."
},
{
"name": "targetDacpac",
"type": "string",
"label": "Target DACPAC",
"defaultValue": "$(System.DefaultWorkingDirectory)/<BUILDNAME>/drop/src/MMC.RDW/bin/Output/Compare/<>.dacpac",
"required": false,
"helpMarkDown": "This DACPAC is the target. Include full path, name and extension."
},
{
"name": "extraArgs",
"type": "string",
"label": "Extra SQLPackage args",
"defaultValue": "",
"required": false,
"helpMarkDown": "Extra args to use for running the SQLPackage.exe schema compare command.",
"groupName": "advanced"
},
{
"name": "reverse",
"type": "boolean",
"label": "Reverse Comparison",
"defaultValue": false,
"required": false,
"helpMarkDown": "Check this to reverse the source and target.",
"groupName": "advanced"
}
],
"execution": {
"PowerShell3": {
"target": "DacPacReport.ps1"
}
}
}