Pproduct: SonarQube developer edition
VCS: GitHub Enterprise
What am I trying to achieve
Have SonarQube publish coverage information and duplication information for Pull Request Analysis for Android.
What have I done so far
The long lived branch is the master branch.
Regular and Branch analysis are successfully setup for Android projects where the code coverage information is visible in the SonarQube dashboard.
Android is set up to use the Gradle plugin. We use jacoco and we provided the reports by specifying sonar.coverage.jacoco.xmlReportPaths.
PR analysis is set up as per the docs and there is a GitHub Enterprise App that adds the checks on PRs.
Here is a screenshot to confirm.
However, as is visible from the bottom of the image - there is no coverage information collected by the scanner for the PR analysis.
and visiting the dashboard I see not coverage and duplication information in the Code tab.
What is necessary to have the PR analysis collect coverage information? Is there a special key for PR analysis that needs to be set?