I have a question/problem about the Main Branch in the Sonarqube 8.5.
We are currently in the process of updating our Sonarqube (developer Edition) from version 7.9.1 to 8.5.
But before we update our live instance, I would like to test the new features on the test instance.
So, our test instance (developer edition) is now on version 8.5 and I have a question about the process of creating a new project.
Analyzing a new project (first develop) in Sonarqube 7.9.1 means analyzing with the missing parameter “sonar.branch.name”.
The main branch, marked as “master”, has been created but could be renamed to “develop”
On the Sonarqube 8.5 I see two branches -> develop and master. Master branch was created automatically without analysis.
No matter what I do on Sonarqube 8.5, my develop branch is always created parallel to the “master” branch (main branch).
In develop is the result of the analysis and the master is empty, but with the error message “master Branch has not been analyzed yet and you have multiple branches already. It looks like it is not your Main Branch, check your configuration.”
If I want to rename the master branch, like in Sonarqube 7.9.1, it tells me develop already exists.
What is the procedure to create a new project in Sonarqube 8.5 and the develop branch should be my main branch???