Skip to content

Commit cb203e6

Browse files
authored
Upgrading PCCRV2 task for NRE fix (#20662)
* Upgrading PCCRV2 task for NRE fix * nits
1 parent 3a4c12d commit cb203e6

File tree

8 files changed

+80
-80
lines changed

8 files changed

+80
-80
lines changed

Tasks/Common/coveragepublisher/make.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"externals": {
33
"archivePackages": [
44
{
5-
"url": "https://testmanagementstore.z13.web.core.windows.net/testmanagementcoverage/29242799/CoveragePublisher.zip",
5+
"url": "https://testmanagementstore.z13.web.core.windows.net/testmanagementcoverage/29330673/CoveragePublisher.zip",
66
"dest": "./"
77
}
88
]
+59-59
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,64 @@
11
{
2-
"id": "2A7EBC54-C13E-490E-81A5-D7561AB7CD97",
3-
"name": "PublishCodeCoverageResults",
4-
"friendlyName": "Publish code coverage results v2",
5-
"description": "Publish any of the code coverage results from a build",
6-
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/test/publish-code-coverage-results",
7-
"helpMarkDown": "[Learn more about this task](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2?view=azure-pipelines)",
8-
"category": "Test",
9-
"visibility": [
10-
"Build"
11-
],
12-
"runsOn": [
13-
"Agent"
14-
],
15-
"author": "Microsoft Corporation",
16-
"version": {
17-
"Major": 2,
18-
"Minor": 248,
19-
"Patch": 2
2+
"id": "2A7EBC54-C13E-490E-81A5-D7561AB7CD97",
3+
"name": "PublishCodeCoverageResults",
4+
"friendlyName": "Publish code coverage results v2",
5+
"description": "Publish any of the code coverage results from a build",
6+
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/test/publish-code-coverage-results",
7+
"helpMarkDown": "[Learn more about this task](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2?view=azure-pipelines)",
8+
"category": "Test",
9+
"visibility": [
10+
"Build"
11+
],
12+
"runsOn": [
13+
"Agent"
14+
],
15+
"author": "Microsoft Corporation",
16+
"version": {
17+
"Major": 2,
18+
"Minor": 249,
19+
"Patch": 0
20+
},
21+
"demands": [],
22+
"minimumAgentVersion": "2.144.0",
23+
"instanceNameFormat": "Publish code coverage results",
24+
"inputs": [
25+
{
26+
"name": "summaryFileLocation",
27+
"type": "multiLine",
28+
"label": "Path to summary files",
29+
"defaultValue": "",
30+
"required": true,
31+
"helpMarkDown": "Paths to summary files containing code coverage statistics, such as line, method, and class coverage. Multiple summary files will be merged into a single report. Supports multiple lines of minimatch patterns. [More information](https://aka.ms/minimatchexamples)"
2032
},
21-
"demands": [],
22-
"minimumAgentVersion": "2.144.0",
23-
"instanceNameFormat": "Publish code coverage results",
24-
"inputs": [
25-
{
26-
"name": "summaryFileLocation",
27-
"type": "multiLine",
28-
"label": "Path to summary files",
29-
"defaultValue": "",
30-
"required": true,
31-
"helpMarkDown": "Paths to summary files containing code coverage statistics, such as line, method, and class coverage. Multiple summary files will be merged into a single report. Supports multiple lines of minimatch patterns. [More information](https://aka.ms/minimatchexamples)"
32-
},
33-
{
34-
"name": "pathToSources",
35-
"type": "string",
36-
"label": "Path to Source files",
37-
"defaultValue": "",
38-
"required": false,
39-
"helpMarkDown": "Path to source files is required when coverage XML reports do not contain absolute path to source files. For e.g., JaCoCo reports do not use absolute paths and when publishing JaCoCo coverage for Java apps, the pattern would be similar to `$(System.DefaultWorkingDirectory)/MyApp/src/main/java/`.<br />This input is also needed if tests are run in a docker container. This input should point to absolute path to source files on the host. For e.g., `$(System.DefaultWorkingDirectory)/MyApp/`"
40-
},
41-
{
42-
"name": "failIfCoverageEmpty",
43-
"type": "boolean",
44-
"label": "Fail if code coverage results are missing",
45-
"defaultValue": "false",
46-
"required": false,
47-
"helpMarkDown": "Fail the task if code coverage did not produce any results to publish."
48-
}
49-
],
50-
"execution": {
51-
"Node10": {
52-
"target": "publishcodecoverageresults.js",
53-
"argumentFormat": ""
54-
},
55-
"Node16": {
56-
"target": "publishcodecoverageresults.js",
57-
"argumentFormat": ""
58-
}
33+
{
34+
"name": "pathToSources",
35+
"type": "string",
36+
"label": "Path to Source files",
37+
"defaultValue": "",
38+
"required": false,
39+
"helpMarkDown": "Path to source files is required when coverage XML reports do not contain absolute path to source files. For e.g., JaCoCo reports do not use absolute paths and when publishing JaCoCo coverage for Java apps, the pattern would be similar to `$(System.DefaultWorkingDirectory)/MyApp/src/main/java/`.<br />This input is also needed if tests are run in a docker container. This input should point to absolute path to source files on the host. For e.g., `$(System.DefaultWorkingDirectory)/MyApp/`"
5940
},
60-
"messages": {
61-
"FoundNMatchesForPattern": "Found %s result(s) matching pattern: %s",
62-
"NoCodeCoverage": "No code coverage results were found to publish."
41+
{
42+
"name": "failIfCoverageEmpty",
43+
"type": "boolean",
44+
"label": "Fail if code coverage results are missing",
45+
"defaultValue": "false",
46+
"required": false,
47+
"helpMarkDown": "Fail the task if code coverage did not produce any results to publish."
6348
}
49+
],
50+
"execution": {
51+
"Node10": {
52+
"target": "publishcodecoverageresults.js",
53+
"argumentFormat": ""
54+
},
55+
"Node16": {
56+
"target": "publishcodecoverageresults.js",
57+
"argumentFormat": ""
58+
}
59+
},
60+
"messages": {
61+
"FoundNMatchesForPattern": "Found %s result(s) matching pattern: %s",
62+
"NoCodeCoverage": "No code coverage results were found to publish."
63+
}
6464
}

Tasks/PublishCodeCoverageResultsV2/task.loc.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"author": "Microsoft Corporation",
1616
"version": {
1717
"Major": 2,
18-
"Minor": 248,
19-
"Patch": 2
18+
"Minor": 249,
19+
"Patch": 0
2020
},
2121
"demands": [],
2222
"minimumAgentVersion": "2.144.0",
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Default|2.248.2
2-
Node20_229_4|2.248.3
1+
Default|2.249.0
2+
Node20_229_4|2.249.1

_generated/PublishCodeCoverageResultsV2/task.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"author": "Microsoft Corporation",
1616
"version": {
1717
"Major": 2,
18-
"Minor": 248,
19-
"Patch": 2
18+
"Minor": 249,
19+
"Patch": 0
2020
},
2121
"demands": [],
2222
"minimumAgentVersion": "2.144.0",
@@ -62,7 +62,7 @@
6262
"NoCodeCoverage": "No code coverage results were found to publish."
6363
},
6464
"_buildConfigMapping": {
65-
"Default": "2.248.2",
66-
"Node20_229_4": "2.248.3"
65+
"Default": "2.249.0",
66+
"Node20_229_4": "2.249.1"
6767
}
6868
}

_generated/PublishCodeCoverageResultsV2/task.loc.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"author": "Microsoft Corporation",
1616
"version": {
1717
"Major": 2,
18-
"Minor": 248,
19-
"Patch": 2
18+
"Minor": 249,
19+
"Patch": 0
2020
},
2121
"demands": [],
2222
"minimumAgentVersion": "2.144.0",
@@ -62,7 +62,7 @@
6262
"NoCodeCoverage": "ms-resource:loc.messages.NoCodeCoverage"
6363
},
6464
"_buildConfigMapping": {
65-
"Default": "2.248.2",
66-
"Node20_229_4": "2.248.3"
65+
"Default": "2.249.0",
66+
"Node20_229_4": "2.249.1"
6767
}
6868
}

_generated/PublishCodeCoverageResultsV2_Node20/task.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"author": "Microsoft Corporation",
1616
"version": {
1717
"Major": 2,
18-
"Minor": 248,
19-
"Patch": 3
18+
"Minor": 249,
19+
"Patch": 1
2020
},
2121
"demands": [],
2222
"minimumAgentVersion": "2.144.0",
@@ -66,7 +66,7 @@
6666
"NoCodeCoverage": "No code coverage results were found to publish."
6767
},
6868
"_buildConfigMapping": {
69-
"Default": "2.248.2",
70-
"Node20_229_4": "2.248.3"
69+
"Default": "2.249.0",
70+
"Node20_229_4": "2.249.1"
7171
}
7272
}

_generated/PublishCodeCoverageResultsV2_Node20/task.loc.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"author": "Microsoft Corporation",
1616
"version": {
1717
"Major": 2,
18-
"Minor": 248,
19-
"Patch": 3
18+
"Minor": 249,
19+
"Patch": 1
2020
},
2121
"demands": [],
2222
"minimumAgentVersion": "2.144.0",
@@ -66,7 +66,7 @@
6666
"NoCodeCoverage": "ms-resource:loc.messages.NoCodeCoverage"
6767
},
6868
"_buildConfigMapping": {
69-
"Default": "2.248.2",
70-
"Node20_229_4": "2.248.3"
69+
"Default": "2.249.0",
70+
"Node20_229_4": "2.249.1"
7171
}
7272
}

0 commit comments

Comments
 (0)