The Quality gate status url in a PR is always pointing to localhost and not to the actual sonarqube server.
The detailed analysis report link in the build pipeline is working fine.
SonarQube 7.9 Developer Edition, Scanner Latest from Marketplace
Create a PR request and trigger a Build with Sonar Analysis.
Add a Build policy to validate Sonar Quality Gate
Click on the link. It routes to localhost and not the actual server.
Thanks. In fact, i made a mistake in my previous answer.
The url that is written to this link is the one setup on the sonar.core.serverBaseURL property, either in your sonar.properties file or in the UI, in the administration part of your SQ instance.
Ideally it should point to the server where I have my sonarqube hosted.
I donāt want to maintain sonar.properties file, so I updated in āPrepare analysis on SonarQubeā task in advance section as below:
sonar.core.serverBaseURL=http://*****.com
If this is not correct, could you please confirm where else the changes are required.