-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrading PCCRV2 task for NRE fix (#20662)
* Upgrading PCCRV2 task for NRE fix * nits
- Loading branch information
1 parent
3a4c12d
commit cb203e6
Showing
8 changed files
with
80 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,64 @@ | ||
{ | ||
"id": "2A7EBC54-C13E-490E-81A5-D7561AB7CD97", | ||
"name": "PublishCodeCoverageResults", | ||
"friendlyName": "Publish code coverage results v2", | ||
"description": "Publish any of the code coverage results from a build", | ||
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/test/publish-code-coverage-results", | ||
"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)", | ||
"category": "Test", | ||
"visibility": [ | ||
"Build" | ||
], | ||
"runsOn": [ | ||
"Agent" | ||
], | ||
"author": "Microsoft Corporation", | ||
"version": { | ||
"Major": 2, | ||
"Minor": 248, | ||
"Patch": 2 | ||
"id": "2A7EBC54-C13E-490E-81A5-D7561AB7CD97", | ||
"name": "PublishCodeCoverageResults", | ||
"friendlyName": "Publish code coverage results v2", | ||
"description": "Publish any of the code coverage results from a build", | ||
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/test/publish-code-coverage-results", | ||
"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)", | ||
"category": "Test", | ||
"visibility": [ | ||
"Build" | ||
], | ||
"runsOn": [ | ||
"Agent" | ||
], | ||
"author": "Microsoft Corporation", | ||
"version": { | ||
"Major": 2, | ||
"Minor": 249, | ||
"Patch": 0 | ||
}, | ||
"demands": [], | ||
"minimumAgentVersion": "2.144.0", | ||
"instanceNameFormat": "Publish code coverage results", | ||
"inputs": [ | ||
{ | ||
"name": "summaryFileLocation", | ||
"type": "multiLine", | ||
"label": "Path to summary files", | ||
"defaultValue": "", | ||
"required": true, | ||
"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)" | ||
}, | ||
"demands": [], | ||
"minimumAgentVersion": "2.144.0", | ||
"instanceNameFormat": "Publish code coverage results", | ||
"inputs": [ | ||
{ | ||
"name": "summaryFileLocation", | ||
"type": "multiLine", | ||
"label": "Path to summary files", | ||
"defaultValue": "", | ||
"required": true, | ||
"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)" | ||
}, | ||
{ | ||
"name": "pathToSources", | ||
"type": "string", | ||
"label": "Path to Source files", | ||
"defaultValue": "", | ||
"required": false, | ||
"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/`" | ||
}, | ||
{ | ||
"name": "failIfCoverageEmpty", | ||
"type": "boolean", | ||
"label": "Fail if code coverage results are missing", | ||
"defaultValue": "false", | ||
"required": false, | ||
"helpMarkDown": "Fail the task if code coverage did not produce any results to publish." | ||
} | ||
], | ||
"execution": { | ||
"Node10": { | ||
"target": "publishcodecoverageresults.js", | ||
"argumentFormat": "" | ||
}, | ||
"Node16": { | ||
"target": "publishcodecoverageresults.js", | ||
"argumentFormat": "" | ||
} | ||
{ | ||
"name": "pathToSources", | ||
"type": "string", | ||
"label": "Path to Source files", | ||
"defaultValue": "", | ||
"required": false, | ||
"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/`" | ||
}, | ||
"messages": { | ||
"FoundNMatchesForPattern": "Found %s result(s) matching pattern: %s", | ||
"NoCodeCoverage": "No code coverage results were found to publish." | ||
{ | ||
"name": "failIfCoverageEmpty", | ||
"type": "boolean", | ||
"label": "Fail if code coverage results are missing", | ||
"defaultValue": "false", | ||
"required": false, | ||
"helpMarkDown": "Fail the task if code coverage did not produce any results to publish." | ||
} | ||
], | ||
"execution": { | ||
"Node10": { | ||
"target": "publishcodecoverageresults.js", | ||
"argumentFormat": "" | ||
}, | ||
"Node16": { | ||
"target": "publishcodecoverageresults.js", | ||
"argumentFormat": "" | ||
} | ||
}, | ||
"messages": { | ||
"FoundNMatchesForPattern": "Found %s result(s) matching pattern: %s", | ||
"NoCodeCoverage": "No code coverage results were found to publish." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Default|2.248.2 | ||
Node20_229_4|2.248.3 | ||
Default|2.249.0 | ||
Node20_229_4|2.249.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters