Skip to content

Commit 5e5c166

Browse files
authored
Added storage account changes in make.json for PublishTestResultsV2 (#20586)
1 parent 36f619e commit 5e5c166

File tree

10 files changed

+171
-171
lines changed

10 files changed

+171
-171
lines changed

Tasks/PublishTestResultsV2/make.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"externals": {
33
"archivePackages": [
44
{
5-
"url": "https://testmanagementstore.blob.core.windows.net/testmanagementptrcontainer/29161277/PublishTestResults.zip",
5+
"url": "https://testmanagementstore.z13.web.core.windows.net/testmanagementptrcontainer/29161277/PublishTestResults.zip",
66
"dest": "./"
77
}
88
]

Tasks/PublishTestResultsV2/task.json

Lines changed: 153 additions & 153 deletions
Original file line numberDiff line numberDiff line change
@@ -1,158 +1,158 @@
11
{
2-
"id": "0B0F01ED-7DDE-43FF-9CBB-E48954DAF9B1",
3-
"name": "PublishTestResults",
4-
"friendlyName": "Publish Test Results",
5-
"description": "Publish test results to Azure Pipelines",
6-
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/test/publish-test-results",
7-
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613742)",
8-
"category": "Test",
9-
"visibility": [
10-
"Build",
11-
"Release"
12-
],
13-
"author": "Microsoft Corporation",
14-
"version": {
15-
"Major": 2,
16-
"Minor": 247,
17-
"Patch": 0
2+
"id": "0B0F01ED-7DDE-43FF-9CBB-E48954DAF9B1",
3+
"name": "PublishTestResults",
4+
"friendlyName": "Publish Test Results",
5+
"description": "Publish test results to Azure Pipelines",
6+
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/test/publish-test-results",
7+
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613742)",
8+
"category": "Test",
9+
"visibility": [
10+
"Build",
11+
"Release"
12+
],
13+
"author": "Microsoft Corporation",
14+
"version": {
15+
"Major": 2,
16+
"Minor": 248,
17+
"Patch": 0
18+
},
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.",
40+
"options": {
41+
"JUnit": "JUnit",
42+
"NUnit": "NUnit",
43+
"VSTest": "VSTest",
44+
"XUnit": "XUnit",
45+
"CTest": "CTest"
46+
}
47+
},
48+
{
49+
"name": "testResultsFiles",
50+
"type": "multiLine",
51+
"label": "Test results files",
52+
"defaultValue": "**/TEST-*.xml",
53+
"required": true,
54+
"helpMarkDown": "Test results files path. Supports multiple lines of minimatch patterns. [More Information](https://go.microsoft.com/fwlink/?LinkId=835764)",
55+
"properties": {
56+
"rows": "3",
57+
"resizable": "true"
58+
}
59+
},
60+
{
61+
"name": "searchFolder",
62+
"type": "string",
63+
"label": "Search folder",
64+
"defaultValue": "$(System.DefaultWorkingDirectory)",
65+
"required": false,
66+
"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."
1891
},
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.",
40-
"options": {
41-
"JUnit": "JUnit",
42-
"NUnit": "NUnit",
43-
"VSTest": "VSTest",
44-
"XUnit": "XUnit",
45-
"CTest": "CTest"
46-
}
47-
},
48-
{
49-
"name": "testResultsFiles",
50-
"type": "multiLine",
51-
"label": "Test results files",
52-
"defaultValue": "**/TEST-*.xml",
53-
"required": true,
54-
"helpMarkDown": "Test results files path. Supports multiple lines of minimatch patterns. [More Information](https://go.microsoft.com/fwlink/?LinkId=835764)",
55-
"properties": {
56-
"rows": "3",
57-
"resizable": "true"
58-
}
59-
},
60-
{
61-
"name": "searchFolder",
62-
"type": "string",
63-
"label": "Search folder",
64-
"defaultValue": "$(System.DefaultWorkingDirectory)",
65-
"required": false,
66-
"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": ""
152147
},
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": ""
157151
}
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."
157+
}
158158
}

Tasks/PublishTestResultsV2/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 2,
16-
"Minor": 247,
16+
"Minor": 248,
1717
"Patch": 0
1818
},
1919
"demands": [],
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Default|2.247.0
2-
Node20_229_13|2.247.1
1+
Default|2.248.0
2+
Node20_229_13|2.248.1

_generated/PublishTestResultsV2/make.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"externals": {
33
"archivePackages": [
44
{
5-
"url": "https://testmanagementstore.blob.core.windows.net/testmanagementptrcontainer/29161277/PublishTestResults.zip",
5+
"url": "https://testmanagementstore.z13.web.core.windows.net/testmanagementptrcontainer/29161277/PublishTestResults.zip",
66
"dest": "./"
77
}
88
]

_generated/PublishTestResultsV2/task.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 2,
16-
"Minor": 247,
16+
"Minor": 248,
1717
"Patch": 0
1818
},
1919
"demands": [],
@@ -156,7 +156,7 @@
156156
"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."
157157
},
158158
"_buildConfigMapping": {
159-
"Default": "2.247.0",
160-
"Node20_229_13": "2.247.1"
159+
"Default": "2.248.0",
160+
"Node20_229_13": "2.248.1"
161161
}
162162
}

_generated/PublishTestResultsV2/task.loc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"author": "Microsoft Corporation",
1414
"version": {
1515
"Major": 2,
16-
"Minor": 247,
16+
"Minor": 248,
1717
"Patch": 0
1818
},
1919
"demands": [],
@@ -156,7 +156,7 @@
156156
"ErrorFailTaskOnFailedTests": "ms-resource:loc.messages.ErrorFailTaskOnFailedTests"
157157
},
158158
"_buildConfigMapping": {
159-
"Default": "2.247.0",
160-
"Node20_229_13": "2.247.1"
159+
"Default": "2.248.0",
160+
"Node20_229_13": "2.248.1"
161161
}
162162
}

_generated/PublishTestResultsV2_Node20/make.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"externals": {
33
"archivePackages": [
44
{
5-
"url": "https://testmanagementstore.blob.core.windows.net/testmanagementptrcontainer/29161277/PublishTestResults.zip",
5+
"url": "https://testmanagementstore.z13.web.core.windows.net/testmanagementptrcontainer/29161277/PublishTestResults.zip",
66
"dest": "./"
77
}
88
]

0 commit comments

Comments
 (0)