Reputation: 41
I have a pipeline which generates code coverage report as an artifact, It contains a set of 32 html files and a summary. Now I want to track these on azure devops or something similar how can I do it
Upvotes: -1
Views: 154
Reputation: 8092
How to track my code coverage report in azure devops on dashboard or something similar?
code coverage
detail is tracked on pipeline run result page
not dashboard. You can check the official doc Review code coverage results for the details.
There is only 3rd-party extension(here and here) to track coverage result on dashboard, but it only shows little info which is not
recommended.
hmtl files
are human readable, it's not needed now for coverage tracking.
To track the code coverage on pipeline result
, it could be different due to the task used:
Publish Code Coverage Results
which requires the coverage.xml
. sample link.- task: PublishCodeCoverageResults@2
displayName: Publish code coverage results
inputs:
summaryFileLocation: "coverage.xml"
Visual Studio Test
, .NET Core
, Ant
, Maven
, Gulp
, Grunt
, and Gradle
provide the option
to publish code coverage data to the pipeline.Please check the link below for the details.
Upvotes: 0