My repo is hosted on GitHub, I’m using Jenkins for CI.
I do see scan results for ‘master’ in SonarCloud site, and I even see my branches and PRs.
- While for ‘master’ I’m able to see scan report and drill down into ‘code’, for branches and PRs there is no any details.
And “Last analysis” for my project is not updated, i.e. it’s Jan, 29 instead of Jan,30.
There is “Task :sonarqubeCould: not find ref: master in refs/heads or refs/remotes/origin” warning in Jenkins log, I have no idea if it related.
- Even I install SonarQube GitHub application, there is no Sonar status in GitHub.
Solution for the second issue was modify GitHub Jenkins plugin branch discovery strategy - see my comment from Feb,14.