Server SonarQube Enterprise Edition Version: 8.4.2
Client Version: 4.6.2.2472
SonarQube is deployed as a zip (Running as a Service on Windows)
Issue:
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!