We have a project in GitHub (private repo). It’s built with CircleCI. But we tried to run sonarqube scan locally with the same results.
The analysis in Sonarcloud gets created successfully, but PR decoration fails. Sonarcloud shows the following warning message:
Pull request decoration did not happen. Please install SonarCloud Github application on the repository's organization or user.
Of course, we double-checked - the GitHub application for the repository is installed.
The scan is run with Gradle sonarqube plugin. The plugin version is
2.7, tried also with
2.8, which is the latest currently.
There is a newer project in the same GitHub org, same Sonarcloud org, scanned and analyzed in Sonarcloud in almost the same way, for which the PR decoration works fine.