Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonarqube coverage report isn't proper #571

Open
alphaguy4 opened this issue Nov 11, 2019 · 0 comments
Open

Sonarqube coverage report isn't proper #571

alphaguy4 opened this issue Nov 11, 2019 · 0 comments

Comments

@alphaguy4
Copy link

Hi guys
My project runs unit test on 4 emulators, which generate the coverage files.

sonarqube {
    androidVariant 'playstoreDebug'
    properties {
        ...
        property 'sonar.junit.reportsPath', "${buildDir}/allJunit"
        property 'sonar.jacoco.reportMissing.force.zero', true
        property 'sonar.jacoco.reportPath', "${buildDir}/jacoco/testPlaystoreDebugUnitTest.exec"
        property 'sonar.jacoco.itReportPath', fileTree(dir: ${buildDir}, includes: ['**/*.ec'])
        ...
    }
}

Issue is sonarqube doesnt generate the coverage report while same path works for jacoco.
Please help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant