New Code coverage is 0 after upgrade from 8.9 to 9.9

Hi,

It’s striking to me that your first command includes -DskipTests and your second command includes -DskipITs.

I suppose the -Pcoverage part is supposed to run the unit tests and generate the coverage report?

Can you verify that a coverage report is indeed being created? And being passed in to analysis? Presumably via sonar.coverage.jacoco.xmlReportPaths?

If so, what does your analysis log say about it?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Ann