Closed dl3sdo closed 2 months ago
There seems to be a dispute about migrating to V2: New version of Publish Code Coverage Results task See also: https://github.com/danielpalme/ReportGenerator/wiki/Integration
So V2 doesn't offer click-through to the sources. Do really want to upgrade? Does https://github.com/danielpalme/ReportGenerator/issues/646#issuecomment-2110990308 provide an alternative?
As there is currently nothing that forces us to move to V2 let's give the alternative solution a try, otherwise let's continue with V1. @dg0yt: do you have to install the ReportGenerator extension from the Marketplace first?
/azp run
I added the ReportGenerator from the AZP marketplace. I couldn't re-run the failed job, but I could start a new run for the same merge commit.
Seems to work now. Before: https://dev.azure.com/OpenOrienteering/Mapper/_build/results?buildId=2903&view=codecoverage-tab After: https://dev.azure.com/OpenOrienteering/Mapper/_build/results?buildId=2907&view=codecoverage-tab
For me it looks rather that one report is V1 and one report is V2 but none of them is Daniel Palme's report.
AFAIU V1 uses an old version of that ReportGenerator, so similarities are expected. And you can check the steps run for the coverage pipeline.
In fact, the version is reported in the footer. Before: ReportGenerator 5.2.2.0 After: ReportGenerator 5.3.8.0
Close/Re-open to reset state.
Thanks.
This PR was meant to be squashed when merged... I will force-push master. CC @dl3sdo @lpechacek.
Although the current V1 version of the publish code coverage results task is still available it's recommended to stop using the V1 version and migrate to V2 version.