SonarQube GitHub PR Decoration doesn't work

Server SonarQube Enterprise Edition Version: 8.4.2
Client Version:

SonarQube is deployed as a zip (Running as a Service on Windows)

Unable to setup PR Decoration successfully. Sonar Scan results are not being shown on GitHub Pull Requests despite following all steps listed in the SonarQube documentation. Can someone shed some light on what’s being missed?

Steps followed:
1. On GitHub Side - Created a GitHub App for SonarQube & granted it all required permissions(repos & events) as per the SonarQube PR Decoration documentation.
2. On SonarQube Side - Created ALM Integration configuration for GitHub. It shows the prompt “Pull Request Decoration is enabled” with Green Checkmark.
3. Payload deliveries on GitHub App shows successful deliveries.
4. No options available to select “Status Checks on branches” [Not sure if this is a requirements ]
5. Created a PR.
6. Executed Sonar scans via Jenkins (also tried SonarQube CLI outside Jenkins) passing additional arguments [ sonar.pullrequest.key, sonar.pullrequest.branch, sonar.pullrequest.base ]

Documentation: Pull request analysis

Any help is much appreciated. Thank you!


Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.4.2 → 8.9.10 → 9.9

You may find the Upgrade Guide and the LTS to LTS release upgrade notes for 8.9 to 9.9 helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.