Hi,
the SonarQube server cannot decorate commits on GitHub Pull Requests with more than a 100 commits. The report can be accessed only on the SonarQube server itself.
It was tested with PRs with 50, 99, 100, 105 and 130 commits. The PRs with 50, 99 and 100 commits were decorated successfully, while the ones with 105 and 130 commits had the following warning in SonarQube:
Pull request decoration did not happen. Commit ‘xxx’ not found in pull request ‘xxx’
with the appropriate hash and PR name.
Can it be confirmed that this is a bug of SonarQube?
Steps to reproduce
- Create a PR with 105 commits in GitHub
- Wait for the Sonar scan to complete
- Observe no status reported back to GitHub, but the report present on the SonarQube server with a warning.
Versions
SonarQube Developer Edition Version 8.3.1 (build 34397)
SonarQube Scanner for Jenkins - 2.11