Must-share information (formatted with Markdown):
which versions are you using
(SonarQube - Version 8.9 (build 43852),
Scanner - sonar-scanner-18.104.22.1688,
TeamCity Professional 2020.2.4 (build 86063)
Teamcity SonarRunner - 2020.1-11.
Github integration 0.5.91
what are you trying to achieve
Decorating my Pull requests.
what have you tried so far to achieve this
i have followed GitHub Integration | SonarQube Docs
Able to see pull requests on sonarqube but it is not decorating my github conversation section.
Created Sonarqube github app account and is installed. Updated Sonarqube global settings with github app information. Created github secrets in repository.
in the Pull requests, i see Last analysis has two warnings, unsure if this is contributing to the decoration failure.
SonarScanner will require Java 11 to run, starting in SonarQube 9.x. Please upgrade the version of Java that executes the scanner and refer to the documentation if needed. - i have Java 11 installed, updated Java_home to the java 11 path and updated wrapper.conf wrapper.java.command=C:\Program Files\Java\jdk-11.0.10\bin\java
Could not find ref ‘master’ in refs/heads, refs/remotes, refs/remotes/upstream or refs/remotes/origin. You may see unexpected issues and changes. Please make sure to fetch this ref before pull request analysis and refer to the documentation.- I have set this to agent side checkout as some forums mentioned it needs a .git file. (i would prefer server side checkout due to our work situation.) - in the .git file, ref/heads there is nothing in here.