-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathtask.json
71 lines (71 loc) · 1.73 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": "0b6f0167-8389-4db8-89c6-4ae7688cd15a",
"name": "CoverageGate",
"friendlyName": "Coverage Gate",
"description": "Adds a coverage trend summary section to the build report.",
"author": "Colin Dembovsky (colinsalmcorner.com)",
"helpMarkDown": "[More Information](https://github.com/colindembovsky/cols-agent-tasks/tree/master/Tasks/CoverageGate)",
"category": "Utility",
"visibility": [
"Build",
"Release"
],
"version": {
"Major": "1",
"Minor": "2",
"Patch": "9"
},
"minimumAgentVersion": "1.91.0",
"instanceNameFormat": "Fail if coverage delta is below $(minDelta)",
"groups": [
{
"name": "2015",
"displayName": "TFS 2015",
"isExpanded": false
}
],
"inputs": [
{
"name": "minDelta",
"type": "string",
"label": "Delta",
"defaultValue": "0",
"helpMarkDown": "Fail if the coverage delta is below this value.",
"required": true
},
{
"name": "operator",
"type": "pickList",
"label": "Operator",
"defaultValue": "lt",
"helpMarkDown": "Operator to apply. Either < or <=",
"required": true,
"options": {
"le": "<=",
"lt": "<"
}
},
{
"name": "username",
"type": "string",
"label": "Username",
"helpMarkDown": "Username to access TFS - only required for TFS 2015.3 or earlier, where OAuth",
"required": false,
"groupName": "2015"
},
{
"name": "password",
"type": "string",
"label": "Password",
"helpMarkDown": "Password to access TFS",
"required": false,
"groupName": "2015"
}
],
"execution": {
"Node10": {
"target": "coverageGate.js",
"argumentFormat": ""
}
}
}