Steps to reproduce:
- checkout a git repository
- switch to develop branch
- run sonar scanner without setting -Dsonar.branch.name property
According to documentation, since the scanner is run on the develop branch when the project is created, then the main branch should be set to develop.
Expected result:
- project is created, one branch is visible called develop and it is set as the main branch
Actual result:
- project is created with master as the main branch, that branch is empty, and a second branch called develop is visible.
This is different from https://jira.sonarsource.com/browse/MMF-1335.
SonarQube 8.5.