How to lock UI to specific branch?

Hello,

I am using SonarQube 8.9. I would like to lock SonarQube UI to develop branch instead of master (MAIN BRANCH). This lock allows that a click on a particular project on the UI, opens it directly to develop branch instead of master.

I saw a discussion “How to change the Main Branch in SonarQube ?” but it is focused on API. I saw you can change the name of the branch via UI but I am looking for an option that said set as “MAIN BRANCH” likes it exists on Quality Profile to set “Default” to a particular set of rules.

Thanks for your help.

1 Like

Hi,

this feature ain’t available yet but it’s tracked at the Sonarqube productboard under
https://portal.productboard.com/sonarsource/3-sonarqube/tabs/12-planned-for-9-5

see
https://portal.productboard.com/sonarsource/3-sonarqube/c/169-allow-a-new-branch-to-become-the-main-branch

though there’s no corresponding Jira ticket for Sonarqube 9.5 so far
https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10930&version=17328

Gilbert

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.