We are running a Maven/Java project with GitHub Actions and SonarQube Cloud. Automatic Analysis is not enabled; all analysis is triggered via a custom GitHub Actions workflow.
The analysis completes successfully and uploads to SonarQube Cloud, but the branch dashboard shows:
-
0 new lines -
Coverage: There is not enough lines to compute coverage -
No issues or duplications, even though we have JaCoCo reports and Checkstyle issues.
The scanner log shows ANALYSIS SUCCESSFUL and confirms that Surefire, JaCoCo, and Checkstyle reports are being detected and imported.
Important: One step in our GitHub Actions workflow sets additional sonar.* parameters that are not present in sonar-project.properties. These parameters include the project version and any branch-specific settings.
Sonar-project.properties attached
What expected in the SonarQube cloud UI
-
JaCoCo coverage results imported and displayed
-
Checkstyle issues imported and visible
-
Branch analysis to reflect actual metrics
What actually in the SonarQube cloud UI
-
SonarQube Cloud reports successful analysis but the UI shows no coverage and no issues.
-
Logs confirm JaCoCo and Checkstyle XML files were imported.
-
SCA/Dependency analysis is skipped (we understand this requires Automatic Analysis, but our concern is specifically with coverage/issues).
-
No Automatic Analysis is enabled; all analysis is triggered manually via GitHub Actions.
-
Additional
sonar.*parameters are set at runtime in the workflow, outside ofsonar-project.properties.soar-log-coverage-checkstyle-files.zip (17.2 KB)