Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the display name of a project on SonarQube?

Tags:

sonarqube

I already changed the key, but the displayed Name stayed the same. How can I change that one?

like image 344
Anna Ira Hurnaus Avatar asked Oct 20 '25 19:10

Anna Ira Hurnaus


1 Answers

If you have a sonar-project.properties file for your project, the name is specified thanks to the sonar.projectName=... property in that file.

If you are on a Maven project, this value comes from the the project name provided inside the root POM file.

Otherwise, you can set the name on the command line when running the analysis, usually with the -Dsonar.projectName=... argument.

like image 62
Fabrice - SonarSource Team Avatar answered Oct 24 '25 03:10

Fabrice - SonarSource Team