- SonarQube v8.5 (build 37579)
- SonarQube Plugins: Groovy v1.6, Clover v4.1 (others can be seen in the screenshots below). (I have experimented with Groovy v1.7-SNAPSHOT, but it didn’t make a difference and caused problems so I had to roll it back).
- SonarQube Gradle Plugin v2.6.1 (I have tried newer versions of this plugin, but it didn’t make any difference)
I have been unable to figure out why I cannot get the Clover coverage reports imported for Groovy projects on a SonarQube EE (8.5) instance. Coverage for these projects are imported properly on our SonarQube CE (6.7.7) instance.
I am setting the sonar.clover.reportPath property (see screenshot) and the file is present/valid on the build server. However, I am getting the following message when I run my (Gradle) SonarQube scan with debug-level logging:
‘Clover Coverage Analysis’ skipped because there is no related file in current project. I’ve tracked the message down to this line of code, but I don’t know enough about how the scanner executes to be sure why the sensor is being disqualified.
What am I missing?
Any assistance is appreciated.