Skip to content

Commit 0b89681

Browse files
committed
Docs
1 parent b7db5c0 commit 0b89681

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/AzureDevopsTask/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ disable.coverage.autogenerate: 'true' # Global environment variable
5151
DISABLE_COVERAGE_AUTOGENERATE: 'true' # Local environment variable
5252
```
5353
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/).
5555
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
5959
6060
**Recommendation**:
6161
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

Comments
 (0)