New Code reference branch by default

We are using SonarQube 8.6 (build 39681) to analyze all of our projects. We frequently create new projects and need a way to preconfigure some settings for new projects.

Thankfully most of the settings can be set via properties during the first analysis (e.g sonar.links.scm or sonar.coverage.exclusions)

One thing we are missing however is an automated way to set the new code reference to a specific branch.

Is there a way to configure this as a default or during project creation or first analysis?

Welcome :slight_smile:

as there is no property (yet) you may use the rest api for project provisioning, see



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