- versions used (SonarQube, Scanner, Plugin, and any relevant extension)
Sonarqube 7.7, Sonar-Scanner CLI 3.3.0.1492 - error observed (wrap logs/code around triple quote ``` for proper formatting)
warning logged in server logs says the following
Could not find a suitable sha1 to decorate, skip decoration.
Before that is a Github call to get the commit statuses that succeeds - steps to reproduce
Run pr analysis with sonar scanner - potential workaround
none
Ended up being because I did not have the git scm plugin added it could not find the sha. After installing the plugin everything worked fine.