Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Sonarqube coverage report isn't proper #571

@kartikayx

Description

@kartikayx

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions