We are running Enterprise Edition v2025.3.1 (109879) in Azure K8S.
Scanning is done via Azure Pipelines using SonarQube task v7.
- task: SonarQubePrepare@7
inputs:
SonarQube: sc-sonarqube-${{parameters.sonarqubeServer}}
scannerMode: cli
configMode: file
Python project set using the sonar-project.properties file:
#Project details
sonar.projectName=Old project name
sonar.projectKey=the.project.key
..
I’m trying to rename the project (change the project friendly / display name) and this is not working.
(I’m not trying to change the projectKey).
I have reviewed and attempted found articles on this community with no luck.
What have I done so far:
-
Changed the sonar.projectName in the properties file, pushed, build - the name remain the same.
-
Merged to master (default branch) - no change
-
Added following snippet to the pipeline - no change
extraProperties: | sonar.projectName=New name -
Deleted the project entirely - pushed and the new projectName was used
-
Reviewed the REST API - seems it’s possible to set the name only at project creation time. After creation it’s only possible to update the projectKey.
So, how can I change the project display name, without project re-creation and loss of the history?