First of all, SonarCloud has been awesome and it helped us improve quality of our code, awesome job guys!
I’m trying to integrate SonarCloud more into our dev flow and as a part of that I was hoping to use SonarCloud on all of our remote branches (GitHub) and PRs. I read a few posts and read documentation but failed to actually have multiple branches show up in the UI Right now it’s only showing master. We have GitHub integration and a payed plan.
I have a few questions:
We have sonar-project.properties and if I understood this right one needs to have sonar.branch.name=branch_name in order to register an extra branch?
How does that work if we want to show all the branches always?
Any idea of why we would not see multiple branches in the UI?
That’s why you see only one branch.
The sonar.branch.name property must be pass to the scanner used to run the analysis.
This property must be used for Long living branch only.
If you want to analyze a pull request, you must pass other properties. See documentation here.