Post upgrade from 8.9 to 9.9, Sonar Scanner exec "/sonar" is appended in sonarqube dashboard URL

Must-share information (formatted with Markdown):
We are using sonarqube 9.9 which we recently upgraded from 8.9.6 (docker), and we are using sonarqube execution from. jenkins via scanner 2.14

When analysis is completed after hitting the command from jenkins stage, /home/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQubeScannerLatest/bin/sonar-scanner '-Dsonar.projectKey=myproject' '-Dsonar.projectVersion=2.0.63-' '-Dsonar.sources=src' '-Dsonar.modules=myproject-service' '-Dsonar.java.binaries=target/classes' '-Dsonar.exclusions=**/src/test/**'

Sonarqube execution start and it give project url like below - http://SonarQubeIP:Nodeport/dashboard?id=service-api
But post upgrade its giving http://SonarQubeIP:Nodeport/sonar/dashboard?id=service-api

This we have observed post upgrade only.

Could you please help.

Thanks

Hi,

Have you configured a web context? For Docker it would be SONAR_WEB_CONTEXT.

 
Ann

No in my sonarqube deployment yml i have

env:
- name: SONAR_JDBC_USERNAME
value: sonar
- name: SONAR_JDBC_URL
value: ‘jdbc:postgresql://IP:Port/sonar’
- name: SONAR_JDBC_PASSWORD
valueFrom:
secretKeyRef:
name: postgres
key: password

so i have not explicitly configured the context

Hi,

And - to double-check - I suppose in-app navigation works fine? No extra path added in those URLs?

 
Thx,
Ann