I’ve already tried following the guides on the community forum and now am running out of ideas what could it possibly be.
JaCoCo plugin seems to be enabled and the debug reports state that the report is correctly read and I can confirm that the coverage file exists.
Thanks for the detailed submission!
Could you try to upgrade the org.sonarqube plugin to 2.8? We made some changes in the latest version where we drop the support of the .exec format in favour of the .xml format of jacoco reports (see this ticket for more information).
Thanks for looking in, I’ve bumped the version to 2.8 (it was previously 2.8 but I wanted to try 2.7 as they are defined in the examples on the github repo)
Nothing changed on my end, the logs still state the same and I presume I’m not using the .exec files for sonarqube at all (only to merge execution results for jacoco).
As per the logs it seems to have found, read and imported the report.
It’s a bit hard to have a sample producer since this is a private repository, hence I’ve attached the gradle settings, and snippets from the file system and the logs.
I’ll see what I can do.
Thanks!
--------- EDIT
I re-read the comment and checked the generated coverage report. I can identify one factor that the directory structure of our main package does not match the namespace.
src/main/kotlin/Main.kt defines the root package as io.foo.bar and that’s reflected all over the coverage report.