How to rename a project in SonarQube 5.1?

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.


You need to "update the project key" (I always think that the Sonar terminology here isn't very helpful)

https://docs.sonarqube.org/display/SONAR/Project+Settings#ProjectSettings-UpdatingProjectKey

and then re-run the analysis (with the new project key, so having updated your sonar-project.properties or build.xml or pom.xml, etc)