Sonar Qube Server Migration - Analysis Result shows Old URL


(Chandraprakash Sarathe) #1

Template for a good bug report, formatted with Markdown:

  • versions used (SonarQube, Scanner, Plugin, and any relevant extension)

Version 7.3 (build 15553)

  • error observed (wrap logs/code around triple quote ``` for proper formatting)

We have migrated our Sonar server to new server , and facing issue in terms of Final Analysis Dashboard . It still shows the old server URL as shown in screenshot.

mvn sonar:sonar -DskipTests -Dsonar.login= sadkjsajkf -Dsonar.exclusions=/*.css,/.sql,**/.xml

  • steps to reproduce

Migrate sonar DB
Migrate Sonar Setup from one server to another
Run Sonar Analysis with new hostURL

  • potential workaround

  • Addtionally see-

Old Server –
mvn sonar:sonar -DskipTests -Dsonar.login=sadkjsajkf -Dsonar.exclusions=/*.css,/.sql,**/.xml

New Server –

P.S.: use the #bug:fault sub-category if you’re hitting a specific crash/error , or the #bug:fp sub-category for rules-related behaviour

(Scott) #2


You must update the “Server base URL” property in the SonarQube settings: