Hello,
I am trying to build a project in jenkins using sonarqube. The build goes through but at the end of the scan the report is sent to a wrong IP address instead of the one that the server is hosted on.
Acutal Server IP
[test-project] $ /var/lib/jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/sonar-scanner/bin/sonar-scanner -Dsonar.host.url=http://3.90.174.155:9000 ******** -Dsonar.projectKey=RingR_test_project_New -Dsonar.projectName=RingR_Test_New -Dsonar.host.url=http://3.90.174.155:9000/ -Dsonar.core.serverBaseUrl=http://3.90.174.155:9000/ -Dsonar.sources=/var/lib/jenkins/workspace/test-project/webapp/frontend/ -Dsonar.projectBaseDir=/var/lib/jenkins/workspace/test-project
Analysis being reported to
INFO: Analysis report uploaded in 666ms
INFO: ANALYSIS SUCCESSFUL, you can browse http://54.173.96.80:9000/sonar/dashboard?id=RingR_test_project_New
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://**54.173.96.80:9000/**sonar/api/ce/task?id=AW7wLMEs150A-TgQZDRS
INFO: Analysis total time: 33.491 s
The above IP address is wrong.
Don’t know whats the issue it was working fine for a while.
Please Help.
Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- what are you trying to achieve
- what have you tried so far to achieve this