I would like to get the analysis for the branches created from the main branch - master, Sonarqube version 6.7.5.
I specified in the configuration file the branch name using <sonar.branch.name> and also I do “git fetch --depth=10000” before running Sonarqube analysis. The branches seems to be recognized by Sonarqube. See PICTURE 1 below.
The problem is that when I go to the specific branch I do not see any smells code etc., even if I knowingly added some on the given branch (so it is different from master). See PICTURE 2 below.
The changed file is recognized by Sonraqube and contains the konwingly made bugs (in the code tab). See PICTURE 3 below.
What should I do to see the code smells for branches?