Staging instance, all changes can be removed at any time

Skip to content

Fix coverage painting on source files in "Coverage Report" Jenkins UI

That MR fixes the coverage painting on source files in Jenkins UI.

The main issue was a bug in the Code Coverage API Jenkins plugin. I submitted a fix in that pull request that got merged and a new release of the plugin is now available \o/

Nevertheless, the plugin use was not correctly parametrized in our Jenkins pipelines to ensure coverage display on source files.

The screenshot below show how it looks (I hacked swh-vault pipeline for my tests).

image

I also activated the "Change coverage" feature enabling to focus coverage display on the changes from a merge request.

image

To be noted, the side by side display in the screenshots is only available for large screen resolutions but you can enable it decreasing the zoom level of your browser.

Fixes #4362 (closed)

Edited by Antoine Lambert

Merge request reports

Loading