Files in emma report don't match any file in SonarQube index
I am using Jenkins, Ant to build an Android app, and Sonar to show reports.
It shows Unit Test Success Result on Sonar ok, but Unit Test Coverage is not.
I have configured Android Sonar plugin to coverage.em file to show Emma code coverage and Jenkins log shows:
[sonar:sonar] 14:35:45.657 WARN - Class with name : X.co.Y.Z.gamecenter.network.base.XXX was not found in SonarQube index
...
[sonar:sonar] 14:35:45.691 WARN - Matched files in report : 0%
[sonar:sonar] 14:35:45.691 WARN - 21 files in emma report did not match any file in SonarQube Index :
But Jenkins Emma plugin shows normaltlly result !?
How do I configure Sonar to get correct code coverage?
Any help is appreciated. Thanks in advance!
+3
source to share
No one has answered this question yet
Check out similar questions: