Duplicate Projects

SonarQube v7.1

We’ve recently added a new project in SonarQube using Jenkins, the project has a duplicated Display Name, is there any way we can rename Projects (just the display name). I have looked at the MySQL database; table ‘projects’ has fields name and long_name, both seem to contain the same display name value that is displayed on the Sonar web front end. Can I change these fields without breaking anything?

Cheers

No, you can’t. Never change anything in the DB. The display name will be overridden in the next analysis anyway. You can set the “display name” defining the property sonar.projectName in the analysis.

1 Like

Thanks for your information about this, we’ll give your suggestion a go.

Cheers