Jacoco.exec is getting generated only when integartion tests are run along with unit tests. No report is generated while running only unit tests

jacoco.exec is getting generated only when integartion tests are run along with unit tests. No report is generated while running only unit tests.

Sonarqube version: 7.9.1
Java: 13
Jacoco plugin: 0.8.5

Also, the same works only with jacoco.exec
No coverage is visible if jacoco.xml path is given as configuration.

Can someone please help in the same.

Hi,

Generation of your test reports should happen before analysis and is really out of scope for this community. Also, and FYI, we don’t support Java 13 (yet).

 
HTH,
Ann