You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"helpMarkDown": "Folder to search for the test result files. Defaults to $(System.DefaultWorkingDirectory)."
67
+
},
68
+
{
69
+
"name": "mergeTestResults",
70
+
"type": "boolean",
71
+
"label": "Merge test results",
72
+
"defaultValue": "false",
73
+
"required": false,
74
+
"helpMarkDown": "A test run is created for each results file. Check this option to merge results into a single test run. To optimize for better performance, results will be merged into a single run if there are more than 100 result files, irrespective of this option."
75
+
},
76
+
{
77
+
"name": "failTaskOnFailedTests",
78
+
"type": "boolean",
79
+
"label": "Fail if there are test failures",
80
+
"defaultValue": "false",
81
+
"required": false,
82
+
"helpMarkDown": "Fail the task if there are any test failures. Check this option to fail the task if test failures are detected in the result files."
83
+
},
84
+
{
85
+
"name": "failTaskOnFailureToPublishResults",
86
+
"type": "boolean",
87
+
"label": "Fail if there is failure in publishing test results",
88
+
"defaultValue": false,
89
+
"required": false,
90
+
"helpMarkDown": "Fail if there is failure in publishing test results. Check this option to fail the task if publishing test results is failed partially."
18
91
},
19
-
"demands": [],
20
-
"releaseNotes": "<ul><li>NUnit3 support</li><li>Support for Minimatch files pattern</li></ul>",
21
-
"minimumAgentVersion": "2.0.0",
22
-
"groups": [
23
-
{
24
-
"name": "advanced",
25
-
"displayName": "Advanced",
26
-
"isExpanded": false
27
-
}
28
-
],
29
-
"inputs": [
30
-
{
31
-
"name": "testRunner",
32
-
"aliases": [
33
-
"testResultsFormat"
34
-
],
35
-
"type": "pickList",
36
-
"label": "Test result format",
37
-
"defaultValue": "JUnit",
38
-
"required": true,
39
-
"helpMarkDown": "Format of test result files generated by your choice of test runner e.g. JUnit, VSTest, XUnit V2, NUnit and CTest.",
"helpMarkDown": "Folder to search for the test result files. Defaults to $(System.DefaultWorkingDirectory)."
67
-
},
68
-
{
69
-
"name": "mergeTestResults",
70
-
"type": "boolean",
71
-
"label": "Merge test results",
72
-
"defaultValue": "false",
73
-
"required": false,
74
-
"helpMarkDown": "A test run is created for each results file. Check this option to merge results into a single test run. To optimize for better performance, results will be merged into a single run if there are more than 100 result files, irrespective of this option."
75
-
},
76
-
{
77
-
"name": "failTaskOnFailedTests",
78
-
"type": "boolean",
79
-
"label": "Fail if there are test failures",
80
-
"defaultValue": "false",
81
-
"required": false,
82
-
"helpMarkDown": "Fail the task if there are any test failures. Check this option to fail the task if test failures are detected in the result files."
83
-
},
84
-
{
85
-
"name": "failTaskOnFailureToPublishResults",
86
-
"type": "boolean",
87
-
"label": "Fail if there is failure in publishing test results",
88
-
"defaultValue": false,
89
-
"required": false,
90
-
"helpMarkDown": "Fail if there is failure in publishing test results. Check this option to fail the task if publishing test results is failed partially."
91
-
},
92
-
{
93
-
"name": "failTaskOnMissingResultsFile",
94
-
"type": "boolean",
95
-
"label": "Fail if no result files are found",
96
-
"defaultValue": false,
97
-
"required": false,
98
-
"helpMarkDown": "Fail the task if no result files are found."
99
-
},
100
-
{
101
-
"name": "testRunTitle",
102
-
"type": "string",
103
-
"label": "Test run title",
104
-
"defaultValue": "",
105
-
"required": false,
106
-
"helpMarkDown": "Provide a name for the Test Run."
107
-
},
108
-
{
109
-
"name": "platform",
110
-
"aliases": [
111
-
"buildPlatform"
112
-
],
113
-
"type": "string",
114
-
"label": "Build Platform",
115
-
"defaultValue": "",
116
-
"required": false,
117
-
"groupName": "advanced",
118
-
"helpMarkDown": "Platform for which the tests were run."
119
-
},
120
-
{
121
-
"name": "configuration",
122
-
"aliases": [
123
-
"buildConfiguration"
124
-
],
125
-
"type": "string",
126
-
"label": "Build Configuration",
127
-
"defaultValue": "",
128
-
"required": false,
129
-
"groupName": "advanced",
130
-
"helpMarkDown": "Configuration for which the tests were run."
131
-
},
132
-
{
133
-
"name": "publishRunAttachments",
134
-
"type": "boolean",
135
-
"label": "Upload test results files",
136
-
"defaultValue": "true",
137
-
"required": false,
138
-
"helpMarkDown": "Upload logs and other files containing diagnostic information collected when the tests were run.",
139
-
"groupName": "advanced"
140
-
}
141
-
],
142
-
"instanceNameFormat": "Publish Test Results $(testResultsFiles)",
143
-
"execution": {
144
-
"Node10": {
145
-
"target": "publishtestresults.js",
146
-
"argumentFormat": ""
147
-
},
148
-
"Node16": {
149
-
"target": "publishtestresults.js",
150
-
"argumentFormat": ""
151
-
}
92
+
{
93
+
"name": "failTaskOnMissingResultsFile",
94
+
"type": "boolean",
95
+
"label": "Fail if no result files are found",
96
+
"defaultValue": false,
97
+
"required": false,
98
+
"helpMarkDown": "Fail the task if no result files are found."
99
+
},
100
+
{
101
+
"name": "testRunTitle",
102
+
"type": "string",
103
+
"label": "Test run title",
104
+
"defaultValue": "",
105
+
"required": false,
106
+
"helpMarkDown": "Provide a name for the Test Run."
107
+
},
108
+
{
109
+
"name": "platform",
110
+
"aliases": [
111
+
"buildPlatform"
112
+
],
113
+
"type": "string",
114
+
"label": "Build Platform",
115
+
"defaultValue": "",
116
+
"required": false,
117
+
"groupName": "advanced",
118
+
"helpMarkDown": "Platform for which the tests were run."
119
+
},
120
+
{
121
+
"name": "configuration",
122
+
"aliases": [
123
+
"buildConfiguration"
124
+
],
125
+
"type": "string",
126
+
"label": "Build Configuration",
127
+
"defaultValue": "",
128
+
"required": false,
129
+
"groupName": "advanced",
130
+
"helpMarkDown": "Configuration for which the tests were run."
131
+
},
132
+
{
133
+
"name": "publishRunAttachments",
134
+
"type": "boolean",
135
+
"label": "Upload test results files",
136
+
"defaultValue": "true",
137
+
"required": false,
138
+
"helpMarkDown": "Upload logs and other files containing diagnostic information collected when the tests were run.",
139
+
"groupName": "advanced"
140
+
}
141
+
],
142
+
"instanceNameFormat": "Publish Test Results $(testResultsFiles)",
143
+
"execution": {
144
+
"Node10": {
145
+
"target": "publishtestresults.js",
146
+
"argumentFormat": ""
152
147
},
153
-
"messages": {
154
-
"NoMatchingFilesFound": "No test result files matching '%s' were found.",
155
-
"ErrorTestResultsPublisher": "Error while executing TestResultsPublisher: %s.",
156
-
"ErrorFailTaskOnFailedTests": "There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab."
148
+
"Node16": {
149
+
"target": "publishtestresults.js",
150
+
"argumentFormat": ""
157
151
}
152
+
},
153
+
"messages": {
154
+
"NoMatchingFilesFound": "No test result files matching '%s' were found.",
155
+
"ErrorTestResultsPublisher": "Error while executing TestResultsPublisher: %s.",
156
+
"ErrorFailTaskOnFailedTests": "There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab."
Copy file name to clipboardExpand all lines: _generated/PublishTestResultsV2/task.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
"author": "Microsoft Corporation",
14
14
"version": {
15
15
"Major": 2,
16
-
"Minor": 247,
16
+
"Minor": 248,
17
17
"Patch": 0
18
18
},
19
19
"demands": [],
@@ -156,7 +156,7 @@
156
156
"ErrorFailTaskOnFailedTests": "There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab."
0 commit comments