Code analysis: Capabilities
Go to portal
Allow a new branch to become the Main branch
125
AG
Alexandre Gigleux
Posted on July 2021

Project administrators will be able to choose any project branch as the main branch in SonarQube.

If your project is created from GitHub, AzureDevOps, Bitbucket or GitLab, the main branch in SonarQube should correspond to the default branch defined in the DevOps platform. But you may not import your project from these platforms. You'll then be able to select a branch as Main.

What's new
CL
Chris Levis
September 2023

We are pleased to announce that this feature is now available in SonarQube 10.2. To start using this feature, follow these instructions to upgrade your SonarQube version.

To learn more about what the release has to offer, check out this announcement.

Questions or feedback? Leave us a note in our community forum.

How important is this to you?
Not important
Nice-to-have
Important
Critical