Code coverage after upgrade to 8.9 LTS

we have upgraded sonarqube 8.9 LTS from 7.9.5,after running sonar in Jenkins, we are observing code coverage for many old projects are showing as 0.0%

1 Like

Hi,

As mentioned in the LTS to LTS Release Upgrade Notes, support for JaCoCo .exec files was dropped. You’ll need to output XML coverage reports and update your analysis parameters accordingly.

 
HTH,
Ann

1 Like

Thanks Ann. Could you please elaborate more on this.

image001.png

image002.png

image003.png

image004.png

image005.png

image006.png

How this output parameters will be set In the Maven code?

image001.png

image002.png

image003.png

image004.png

image005.png

image006.png

Hi,

Since you’re using Maven, I believe analysis will pick up the change in report format automatically.

 
Ann

Hello Ann,

We have upgrade the Sonarqube to 8.9 from 7.9.5. some of the projects showing 0% coverage . we have checked everything and looks good. Please help us here …

image001.png

image002.png

image003.png

image004.png

image005.png

image006.png