At Medtronic, we use Azure DevOps for our builds and use Sonarqube for static analysis.
In devops, we have sprint branches that is the default branch for 2 weeks. At the end of 2 weeks, a new branch is created for next Sprint and that is the default branch.
For static analysis to be successful, every new sprint, I need to go to Sonarqube and update the default branch name to new Sprint branch name used in DevOps. If the default is set to master on Sonarqube, the static analysis fails saying the reason cannot find the default branch. As static analysis expects default branch names to be same at both places, i am manually updating default branch name in Sonarqube for every new sprint of ours. Can you please look at this and help us resolve the issue.