I’m trying to use SonarCloud too, and it doesn’t seem to be using my SONAR_HOST URL provided in the environment, and defaulting to this local server… Any solution to this?
Hi @Jason_Thomas,
Could it be that you defined a SONAR_HOST
environment variable instead of a SONAR_HOST_URL
environment variable?
Hi @TomVanBraband, I am also facing the same issue. I am using sonar cloud free account with GitLab public repository and GitLab CI. As mentioned I have configured the token and URL keys specified in the documentation. Sonar Scanner works correctly for every pushed commit. But when there is a Merge Request, it shows below error.
ERROR: SonarQube server [http://localhost:9000] can not be reached