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
Copy file name to clipboardExpand all lines: Tasks/PublishCodeCoverageResultsV1/Strings/resources.resjson/en-US/resources.resjson
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
-
"loc.friendlyName": "[To be deprecated] Publish code coverage",
2
+
"loc.friendlyName": "Publish code coverage",
3
3
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=626485)",
4
-
"loc.description": "[DEPRECATION WARNING! Users are recommended to switch to version 2*.] Publish Cobertura or JaCoCo code coverage results from a build",
4
+
"loc.description": "Publish Cobertura or JaCoCo code coverage results from a build",
5
5
"loc.instanceNameFormat": "Publish code coverage from $(summaryFileLocation)",
"loc.input.help.codeCoverageTool": "[DEPRECATION WARNING! Users are recommended to switch to task version 2*. For more details, see https://devblogs.microsoft.com/devops/new-pccr-task.] The tool with which code coverage results are generated.",
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=626485)",
8
-
"category": "Test",
9
-
"visibility": [
10
-
"Build"
11
-
],
12
-
"runsOn": [
13
-
"Agent",
14
-
"DeploymentGroup"
15
-
],
16
-
"author": "Microsoft Corporation",
17
-
"version": {
18
-
"Major": 1,
19
-
"Minor": 244,
20
-
"Patch": 0
21
-
},
22
-
"demands": [],
23
-
"minimumAgentVersion": "2.182.1",
24
-
"instanceNameFormat": "Publish code coverage from $(summaryFileLocation)",
25
-
"deprecated": true,
26
-
"deprecationMessage": "The PublishCodeCoverageResults@1 is deprecated. Users are recommended to switch to task version 2. For more details, see https://devblogs.microsoft.com/devops/new-pccr-task",
27
-
"inputs": [
28
-
{
29
-
"name": "codeCoverageTool",
30
-
"type": "pickList",
31
-
"label": "Code coverage tool",
32
-
"required": true,
33
-
"defaultValue": "JaCoCo",
34
-
"helpMarkDown": "[DEPRECATION WARNING! Users are recommended to switch to task version 2*. For more details, see https://devblogs.microsoft.com/devops/new-pccr-task.] The tool with which code coverage results are generated.",
35
-
"options": {
36
-
"Cobertura": "Cobertura",
37
-
"JaCoCo": "JaCoCo"
38
-
}
39
-
},
40
-
{
41
-
"name": "summaryFileLocation",
42
-
"type": "string",
43
-
"label": "Summary file",
44
-
"defaultValue": "",
45
-
"required": true,
46
-
"helpMarkDown": "Path of the summary file containing code coverage statistics, such as line, method, and class coverage. The value may contain minimatch patterns. For example: `$(System.DefaultWorkingDirectory)/MyApp/**/site/cobertura/coverage.xml`"
47
-
},
48
-
{
49
-
"name": "pathToSources",
50
-
"type": "string",
51
-
"label": "Path to Source files",
52
-
"defaultValue": "",
53
-
"required": false,
54
-
"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/`"
55
-
},
56
-
{
57
-
"name": "reportDirectory",
58
-
"type": "string",
59
-
"label": "Report directory",
60
-
"defaultValue": "",
61
-
"required": false,
62
-
"helpMarkDown": "Path of the code coverage HTML report directory. The report directory is published for later viewing as an artifact of the build. The value may contain minimatch patterns. For example: `$(System.DefaultWorkingDirectory)/MyApp/**/site/cobertura`"
63
-
},
64
-
{
65
-
"name": "additionalCodeCoverageFiles",
66
-
"type": "string",
67
-
"label": "Additional files",
68
-
"defaultValue": "",
69
-
"required": false,
70
-
"helpMarkDown": "File path pattern specifying any additional code coverage files to be published as artifacts of the build. The value may contain minimatch patterns. For example: `$(System.DefaultWorkingDirectory)/**/*.exec`"
71
-
},
72
-
{
73
-
"name": "failIfCoverageEmpty",
74
-
"type": "boolean",
75
-
"label": "Fail when code coverage results are missing",
76
-
"defaultValue": "false",
77
-
"required": false,
78
-
"helpMarkDown": "Fail the task if code coverage did not produce any results to publish."
"MultipleSummaryFilesFound": "Multiple file or directory matches were found. Using the first match: %s",
99
-
"NoCodeCoverage": "No code coverage results were found to publish.",
100
-
"InstallDotNetCoreForHtmlReport": "Please install dotnet core to enable automatic generation of Html report.",
101
-
"FailedToGenerateHtmlReport": "Failed to generate Html report. Error: %s",
102
-
"IgnoringReportDirectory": "Ignoring coverage report directory with Html content as we are auto-generating Html content",
103
-
"UpgradeAgentMessage": "Please upgrade your agent version. https://github.com/Microsoft/vsts-agent/releases",
104
-
"GeneratedHtmlReport": "Generated code coverage html report: %s",
105
-
"V1TaskDeprecationNotice": "New V2 version of task publishing code coverage results is available to all our customers now. We highly recommend to stop using the V1 version and migrate to V2 version (https://learn.microsoft.com/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2). For more details, see - https://devblogs.microsoft.com/devops/new-pccr-task."
106
-
}
2
+
"id": "2A7EBC54-C13E-490E-81A5-D7561AB7CD97",
3
+
"name": "PublishCodeCoverageResults",
4
+
"friendlyName": "Publish code coverage",
5
+
"description": "Publish Cobertura or JaCoCo code coverage results from a build",
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=626485)",
8
+
"category": "Test",
9
+
"visibility": [
10
+
"Build"
11
+
],
12
+
"runsOn": [
13
+
"Agent",
14
+
"DeploymentGroup"
15
+
],
16
+
"author": "Microsoft Corporation",
17
+
"version": {
18
+
"Major": 1,
19
+
"Minor": 247,
20
+
"Patch": 0
21
+
},
22
+
"demands": [],
23
+
"minimumAgentVersion": "2.182.1",
24
+
"instanceNameFormat": "Publish code coverage from $(summaryFileLocation)",
25
+
"deprecated": true,
26
+
"deprecationMessage": "The PublishCodeCoverageResults@1 is deprecated. Users are recommended to switch to task version 2. For more details, see https://devblogs.microsoft.com/devops/new-pccr-task",
27
+
"inputs": [
28
+
{
29
+
"name": "codeCoverageTool",
30
+
"type": "pickList",
31
+
"label": "Code coverage tool",
32
+
"required": true,
33
+
"defaultValue": "JaCoCo",
34
+
"helpMarkDown": "The tool with which code coverage results are generated.",
35
+
"options": {
36
+
"Cobertura": "Cobertura",
37
+
"JaCoCo": "JaCoCo"
38
+
}
39
+
},
40
+
{
41
+
"name": "summaryFileLocation",
42
+
"type": "string",
43
+
"label": "Summary file",
44
+
"defaultValue": "",
45
+
"required": true,
46
+
"helpMarkDown": "Path of the summary file containing code coverage statistics, such as line, method, and class coverage. The value may contain minimatch patterns. For example: `$(System.DefaultWorkingDirectory)/MyApp/**/site/cobertura/coverage.xml`"
47
+
},
48
+
{
49
+
"name": "pathToSources",
50
+
"type": "string",
51
+
"label": "Path to Source files",
52
+
"defaultValue": "",
53
+
"required": false,
54
+
"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/`"
55
+
},
56
+
{
57
+
"name": "reportDirectory",
58
+
"type": "string",
59
+
"label": "Report directory",
60
+
"defaultValue": "",
61
+
"required": false,
62
+
"helpMarkDown": "Path of the code coverage HTML report directory. The report directory is published for later viewing as an artifact of the build. The value may contain minimatch patterns. For example: `$(System.DefaultWorkingDirectory)/MyApp/**/site/cobertura`"
63
+
},
64
+
{
65
+
"name": "additionalCodeCoverageFiles",
66
+
"type": "string",
67
+
"label": "Additional files",
68
+
"defaultValue": "",
69
+
"required": false,
70
+
"helpMarkDown": "File path pattern specifying any additional code coverage files to be published as artifacts of the build. The value may contain minimatch patterns. For example: `$(System.DefaultWorkingDirectory)/**/*.exec`"
71
+
},
72
+
{
73
+
"name": "failIfCoverageEmpty",
74
+
"type": "boolean",
75
+
"label": "Fail when code coverage results are missing",
76
+
"defaultValue": "false",
77
+
"required": false,
78
+
"helpMarkDown": "Fail the task if code coverage did not produce any results to publish."
"MultipleSummaryFilesFound": "Multiple file or directory matches were found. Using the first match: %s",
99
+
"NoCodeCoverage": "No code coverage results were found to publish.",
100
+
"InstallDotNetCoreForHtmlReport": "Please install dotnet core to enable automatic generation of Html report.",
101
+
"FailedToGenerateHtmlReport": "Failed to generate Html report. Error: %s",
102
+
"IgnoringReportDirectory": "Ignoring coverage report directory with Html content as we are auto-generating Html content",
103
+
"UpgradeAgentMessage": "Please upgrade your agent version. https://github.com/Microsoft/vsts-agent/releases",
104
+
"GeneratedHtmlReport": "Generated code coverage html report: %s",
105
+
"V1TaskDeprecationNotice": "New V2 version of task publishing code coverage results is available to all our customers now. We highly recommend to stop using the V1 version and migrate to V2 version (https://learn.microsoft.com/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2). For more details, see - https://devblogs.microsoft.com/devops/new-pccr-task."
Copy file name to clipboardExpand all lines: _generated/PublishCodeCoverageResultsV1/Strings/resources.resjson/en-US/resources.resjson
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
{
2
-
"loc.friendlyName": "[To be deprecated] Publish code coverage",
2
+
"loc.friendlyName": "Publish code coverage",
3
3
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=626485)",
4
-
"loc.description": "[DEPRECATION WARNING! Users are recommended to switch to version 2*.] Publish Cobertura or JaCoCo code coverage results from a build",
4
+
"loc.description": "Publish Cobertura or JaCoCo code coverage results from a build",
5
5
"loc.instanceNameFormat": "Publish code coverage from $(summaryFileLocation)",
"loc.input.help.codeCoverageTool": "[DEPRECATION WARNING! Users are recommended to switch to task version 2*. For more details, see https://devblogs.microsoft.com/devops/new-pccr-task.] The tool with which code coverage results are generated.",
7
+
"loc.input.help.codeCoverageTool": "The tool with which code coverage results are generated.",
"loc.input.help.summaryFileLocation": "Path of the summary file containing code coverage statistics, such as line, method, and class coverage. The value may contain minimatch patterns. For example: `$(System.DefaultWorkingDirectory)/MyApp/**/site/cobertura/coverage.xml`",
10
10
"loc.input.label.pathToSources": "Path to Source files",
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=626485)",
8
8
"category": "Test",
@@ -16,7 +16,7 @@
16
16
"author": "Microsoft Corporation",
17
17
"version": {
18
18
"Major": 1,
19
-
"Minor": 244,
19
+
"Minor": 247,
20
20
"Patch": 0
21
21
},
22
22
"demands": [],
@@ -31,7 +31,7 @@
31
31
"label": "Code coverage tool",
32
32
"required": true,
33
33
"defaultValue": "JaCoCo",
34
-
"helpMarkDown": "[DEPRECATION WARNING! Users are recommended to switch to task version 2*. For more details, see https://devblogs.microsoft.com/devops/new-pccr-task.] The tool with which code coverage results are generated.",
34
+
"helpMarkDown": "The tool with which code coverage results are generated.",
35
35
"options": {
36
36
"Cobertura": "Cobertura",
37
37
"JaCoCo": "JaCoCo"
@@ -105,7 +105,7 @@
105
105
"V1TaskDeprecationNotice": "New V2 version of task publishing code coverage results is available to all our customers now. We highly recommend to stop using the V1 version and migrate to V2 version (https://learn.microsoft.com/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2). For more details, see - https://devblogs.microsoft.com/devops/new-pccr-task."
Copy file name to clipboardExpand all lines: _generated/PublishCodeCoverageResultsV1_Node20/Strings/resources.resjson/en-US/resources.resjson
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
{
2
-
"loc.friendlyName": "[To be deprecated] Publish code coverage",
2
+
"loc.friendlyName": "Publish code coverage",
3
3
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=626485)",
4
-
"loc.description": "[DEPRECATION WARNING! Users are recommended to switch to version 2*.] Publish Cobertura or JaCoCo code coverage results from a build",
4
+
"loc.description": "Publish Cobertura or JaCoCo code coverage results from a build",
5
5
"loc.instanceNameFormat": "Publish code coverage from $(summaryFileLocation)",
"loc.input.help.codeCoverageTool": "[DEPRECATION WARNING! Users are recommended to switch to task version 2*. For more details, see https://devblogs.microsoft.com/devops/new-pccr-task.] The tool with which code coverage results are generated.",
7
+
"loc.input.help.codeCoverageTool": "The tool with which code coverage results are generated.",
"loc.input.help.summaryFileLocation": "Path of the summary file containing code coverage statistics, such as line, method, and class coverage. The value may contain minimatch patterns. For example: `$(System.DefaultWorkingDirectory)/MyApp/**/site/cobertura/coverage.xml`",
10
10
"loc.input.label.pathToSources": "Path to Source files",
0 commit comments