Must-share information (formatted with Markdown):
-
which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
sonar-scanner -
what are you trying to achieve
I setup a TEST instance (enterprise edition), restored a copy of PROD database. I’m running sonar-scanner on a sample / test repo against the TEST instance of SQ. When sonar-scanner is done running on my MAC, the DNS alias for output listed below is still configured with PROD DNS name. Can this be changed?
INFO: Analysis report generated in 1120ms, dir size=27 MB
INFO: Analysis report compressed in 3707ms, zip size=8 MB
INFO: Analysis report uploaded in 17533ms
INFO: ANALYSIS SUCCESSFUL, you can browse https://sonarqube.example.com/dashboard?id=sample-repo
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 https://sonarqube.example.com/api/ce/task?id=ABCXY
INFO: Analysis total time: 3:04.718 s
- what have you tried so far to achieve this
I reviewed all general settings as admin and couldn’t find reference to prod DNS name. Confirmed the URL in the sonar-scanner.properties where scanner resides points to the TEST SQ instance.