Skip to content

Sonarqube not locating server #376

@Gbengard

Description

@Gbengard

Hi,

I followed the instructions using the Jenkinsfile which I edited. The token and host URL were edited. Still, Jenkins keep throwing error it can not locate sonarserver at http://localhost:9000.

My Jenkins and Sonarqube are on my local machine. I can access and log in both.

If I run the "mvn sonar:sonar -Dsonar.login=$SONAR_AUTH_TOKEN -Dsonar.host.url=http://localhost:9000" on my cli. It works fine.

What could be wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions