Cloud Sonar does not import code coverage report
- SonarCloud (SonarQube 7.9 I believe)
- I have coverage report generated, but sonar does not import it.
I have a Scala project, I run tests and generate coverage reports using scoverage:
sbt clean coverage test sbt coverageReport ... > [info] Written XML coverage report [/drone/src/github.com/.../target/scala-2.11/scoverage-report/scoverage.xml] > [info] Statement coverage.: 41.66% > [nfo] Branch coverage....: 32.50% > [info] Coverage reports completed
My properties file has path to reports set up:
sonar.scala.coverage. as well, same result).
But aster sonar-scan runs, I don’t see my coverage report imported:
Why is it not imported?
Noticed strange line in debug logs:
‘Scoverage sensor for Scala coverage’ skipped because one of the required properties is missing
What is it complaining about?