Update code coverage in Gitlab

(Nervo) #1

I am facing a problem. Presently working on Sonar integration in Gitlab. The goal is that on consecutive runs of the pipeline, code coverage has to be at least equal to the previous run. So if the last run had code coverage of 75%, the pipeline will not succeed until the coverage is at least 75%. If I now have code coverage at 76%, then that is the new bar. Any help on how to achieve this?
Version: 6.5