How to rename a project in SonarQube 5.1?

Francois picture Francois · May 28, 2015 · Viewed 19.3k times · Source

I can't find how to rename a project in SonarQube 5.1.

Once created, how one can change project name, key, branch, from the web dashboard?

SonarQube's documentation doesn't help.

Answer

adrianko picture adrianko · Mar 7, 2016

In SonarQube 5.1 the project name can't be changed from the web dashboard (Probably it will not be possible in the future as well).

I configure my SonarQube projects sonar-project.properties where I only have to change this line:

sonar.projectName=MyNewProjectName

Rerun the analysis to see the result in the web dashboard.