diff --git a/Tasks/Common/coveragepublisher/make.json b/Tasks/Common/coveragepublisher/make.json index 442bc6cb77b2..59891fb33c73 100644 --- a/Tasks/Common/coveragepublisher/make.json +++ b/Tasks/Common/coveragepublisher/make.json @@ -2,7 +2,7 @@ "externals": { "archivePackages": [ { - "url": "https://testmanagementstore.z13.web.core.windows.net/testmanagementcoverage/29242799/CoveragePublisher.zip", + "url": "https://testmanagementstore.z13.web.core.windows.net/testmanagementcoverage/29330673/CoveragePublisher.zip", "dest": "./" } ] diff --git a/Tasks/PublishCodeCoverageResultsV2/task.json b/Tasks/PublishCodeCoverageResultsV2/task.json index 564a2b891298..d52fbe14416e 100644 --- a/Tasks/PublishCodeCoverageResultsV2/task.json +++ b/Tasks/PublishCodeCoverageResultsV2/task.json @@ -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/`.
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/`.
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." + } } \ No newline at end of file diff --git a/Tasks/PublishCodeCoverageResultsV2/task.loc.json b/Tasks/PublishCodeCoverageResultsV2/task.loc.json index 15ae70d8ccf4..838705c05cc5 100644 --- a/Tasks/PublishCodeCoverageResultsV2/task.loc.json +++ b/Tasks/PublishCodeCoverageResultsV2/task.loc.json @@ -15,8 +15,8 @@ "author": "Microsoft Corporation", "version": { "Major": 2, - "Minor": 248, - "Patch": 2 + "Minor": 249, + "Patch": 0 }, "demands": [], "minimumAgentVersion": "2.144.0", diff --git a/_generated/PublishCodeCoverageResultsV2.versionmap.txt b/_generated/PublishCodeCoverageResultsV2.versionmap.txt index 82db991768e9..5a4b05b2b98c 100644 --- a/_generated/PublishCodeCoverageResultsV2.versionmap.txt +++ b/_generated/PublishCodeCoverageResultsV2.versionmap.txt @@ -1,2 +1,2 @@ -Default|2.248.2 -Node20_229_4|2.248.3 +Default|2.249.0 +Node20_229_4|2.249.1 diff --git a/_generated/PublishCodeCoverageResultsV2/task.json b/_generated/PublishCodeCoverageResultsV2/task.json index 9602a2df5181..f8c86a8d9004 100644 --- a/_generated/PublishCodeCoverageResultsV2/task.json +++ b/_generated/PublishCodeCoverageResultsV2/task.json @@ -15,8 +15,8 @@ "author": "Microsoft Corporation", "version": { "Major": 2, - "Minor": 248, - "Patch": 2 + "Minor": 249, + "Patch": 0 }, "demands": [], "minimumAgentVersion": "2.144.0", @@ -62,7 +62,7 @@ "NoCodeCoverage": "No code coverage results were found to publish." }, "_buildConfigMapping": { - "Default": "2.248.2", - "Node20_229_4": "2.248.3" + "Default": "2.249.0", + "Node20_229_4": "2.249.1" } } \ No newline at end of file diff --git a/_generated/PublishCodeCoverageResultsV2/task.loc.json b/_generated/PublishCodeCoverageResultsV2/task.loc.json index 3d53818e5bf2..6d89659710fb 100644 --- a/_generated/PublishCodeCoverageResultsV2/task.loc.json +++ b/_generated/PublishCodeCoverageResultsV2/task.loc.json @@ -15,8 +15,8 @@ "author": "Microsoft Corporation", "version": { "Major": 2, - "Minor": 248, - "Patch": 2 + "Minor": 249, + "Patch": 0 }, "demands": [], "minimumAgentVersion": "2.144.0", @@ -62,7 +62,7 @@ "NoCodeCoverage": "ms-resource:loc.messages.NoCodeCoverage" }, "_buildConfigMapping": { - "Default": "2.248.2", - "Node20_229_4": "2.248.3" + "Default": "2.249.0", + "Node20_229_4": "2.249.1" } } \ No newline at end of file diff --git a/_generated/PublishCodeCoverageResultsV2_Node20/task.json b/_generated/PublishCodeCoverageResultsV2_Node20/task.json index 8c58d23a8165..6184aa1df74f 100644 --- a/_generated/PublishCodeCoverageResultsV2_Node20/task.json +++ b/_generated/PublishCodeCoverageResultsV2_Node20/task.json @@ -15,8 +15,8 @@ "author": "Microsoft Corporation", "version": { "Major": 2, - "Minor": 248, - "Patch": 3 + "Minor": 249, + "Patch": 1 }, "demands": [], "minimumAgentVersion": "2.144.0", @@ -66,7 +66,7 @@ "NoCodeCoverage": "No code coverage results were found to publish." }, "_buildConfigMapping": { - "Default": "2.248.2", - "Node20_229_4": "2.248.3" + "Default": "2.249.0", + "Node20_229_4": "2.249.1" } } \ No newline at end of file diff --git a/_generated/PublishCodeCoverageResultsV2_Node20/task.loc.json b/_generated/PublishCodeCoverageResultsV2_Node20/task.loc.json index 7301c38fad03..fab650148a72 100644 --- a/_generated/PublishCodeCoverageResultsV2_Node20/task.loc.json +++ b/_generated/PublishCodeCoverageResultsV2_Node20/task.loc.json @@ -15,8 +15,8 @@ "author": "Microsoft Corporation", "version": { "Major": 2, - "Minor": 248, - "Patch": 3 + "Minor": 249, + "Patch": 1 }, "demands": [], "minimumAgentVersion": "2.144.0", @@ -66,7 +66,7 @@ "NoCodeCoverage": "ms-resource:loc.messages.NoCodeCoverage" }, "_buildConfigMapping": { - "Default": "2.248.2", - "Node20_229_4": "2.248.3" + "Default": "2.249.0", + "Node20_229_4": "2.249.1" } } \ No newline at end of file