Open agehrke opened 1 month ago
I have tried to implement the functionality in this commit: https://github.com/microsoft/azure-pipelines-tasks/compare/master...agehrke:azure-pipelines-tasks:disableHtmlReport-PublishCodeCoverageResults
PublishCodeCoverageResults@2
task seems to be the only task that uses Tasks/Common/coveragepublisher/coveragepublisher.ts
so above commit contains a breaking change to the PublishCodeCoverage()
function.
Task name
No response
Describe your feature request here
The docs for
PublishCodeCoverageResults@2
states:I will like to request an option to disable this - mostly because it takes ~2 mins in my pipelines to upload ~800 HTML files - see output from pipeline run below.
I have tried to read and understand the source code of PublishCodeCoverageResults@2 task. It seems most of the work is implemented in microsoft/azure-pipelines-coveragepublisher. This tool does seem to support not generating a HTML report