SonarCloud Analysis is not reflecting in portal when CircleCI has completed successfully

Versions: “org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:”

Goal: To perform SonarCloud Analysis through CircleCI, when the new code has been committed and merged.

Progress: The SonarCloud Analysis runs and completes successfully, but the results of Analysis are not reflecting on SonarCloud Dashboard.

Hello Team,

When the SonarCloud Analysis is initiated from CircleCI, the results are not reflecting on the Dashboard, even though the Analysis is executed successfully.

But when the SonarCloud Analysis is initiated from AndroidStudio Terminal, the results are reflecting.

Please suggest a solution as to how to execute the SonarCloud Analysis successfully from CircleCI.

PS : The SONAR_TOKEN (Env Variable) and SonarCloud (context) have already been added to CircleCI.

Thank you.


Please share your Circle CI analysis log.

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.