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: src/AzureDevopsTask/README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -51,11 +51,11 @@ disable.coverage.autogenerate: 'true' # Global environment variable
51
51
DISABLE_COVERAGE_AUTOGENERATE: 'true'# Local environment variable
52
52
```
53
53
54
-
The [PublishCodeCoverageResults@1](https://learn.microsoft.com/de-de/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v1?view=azure-pipelines) will get [deprecated](https://devblogs.microsoft.com/devops/new-pccr-task/).
54
+
The [PublishCodeCoverageResults@1](https://learn.microsoft.com/de-de/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v1?view=azure-pipelines) has been [deprecated](https://devblogs.microsoft.com/devops/new-pccr-task/).
55
55
Microsoft recommends to use the [PublishCodeCoverageResults@2](https://learn.microsoft.com/de-de/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v2?view=azure-pipelines) instead.
56
-
The new version has several disadvantages regarding the report in the `Code Coverage` tab within Azure DevOps
57
-
- No branch and method coverage
58
-
- No details page for each class
56
+
The new version has several disadvantags
57
+
- It uses an old version of _ReportGenerator_
58
+
- It regenerates the report and no custom options can be applied
59
59
60
60
**Recommendation**:
61
61
Use the setting `publishCodeCoverageResults: true` of the *ReportGenerator* task. This way you don't have to use the *PublishCodeCoverageResults@1* or *PublishCodeCoverageResults@2* task at all.
0 commit comments