How to rename projects in Sonar Qube

时间:2017-12-18 08:15:02

标签: sonarqube sonar-runner

I have a few projects which use pom.xmls to run the sonar analysis. Their names are:

Myproject1 Myproject2 Myproject3 Myproject4

I want to rename them on the sonar dashboard:

MyprojectA MyprojectB MyprojectC MyprojectD

whats the simplest way to achieve this? I know that we can update the key, and then on-board the project with the desired name. Is it possible for me to use the same key and update the project display name?

P.S: I use sonarqube version 6.1

1 个答案:

答案 0 :(得分:1)

我最终必须在settings.xml文件中更改项目名称。这包含我的sonar.projectname和sonar.projectkey。然后,我不得不使用新的细节在声纳仪表板上登录应用程序并运行分析。但是,我仍然觉得简单的重命名功能本来很容易。 由于它更像是企业版的声纳,我们不允许立即升级声纳版本。