I am using Sonarqube Community Edition - Version 10.3
. My repo is in bitbucket. So what is the meaning of “main
” branch? How does sonarqube decide what is main from repo?
I created a repo with initial branch as develop
and another repo with initial branch as testing
, will both of them get scanned if I run(not ran yet as code not ready) sonar scan.
I also have another repo which had master
as initial brach when repo was created and now the default branch is changed to develop
(master is still there), so which branch will get scanned if I run sonar scan in this repo?