Sonar Qube Server Migration - Analysis Result shows Old URL

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.host.url=http://marketplace.dv-ds.com/sonar -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 –
http://stg.shari.ae:9000
mvn sonar:sonar -DskipTests -Dsonar.host.url=http://stg.shari.ae:9000 -Dsonar.login=sadkjsajkf -Dsonar.exclusions=/*.css,/.sql,**/.xml

New Server –
http://marketplace.dv-ds.com/sonar

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

Hi.

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

1 Like