Is there a way to check code coverage delta of gradle multiproject using JaCoCo on every merge request in GitLab CE and fail the pipeline if coverage level decreases?
GitLab has Code Quality support built-in via Code Climate. If you run the code quality tests on both the target (usually master) and source branches then GitLab will display code quality degradation on the merge request.
See https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html for an animated GIF of the feature plus more information. Further, you can find examples on how to set up a code quality job at https://docs.gitlab.com/ee/ci/examples/code_quality.html.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With