- versions used (SonarQube, Scanner, Plugin, and any relevant extension)
Sonarqube 7.7, Sonar-Scanner CLI 184.108.40.2062
- 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
jkgentry (Jake Gentry) #1
jkgentry (Jake Gentry) #2
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.