SonarQube to Jenkins Integration using Pipeline script

I am trying to create a Jenkins pipeline script , my sonar is in different server, I created configuration in jenkins for sonar server and sonar scanner.

sonar scanner version - 2.5
Jenkins - 2.150.1
Sonar server -
getting error that http://localhost:9000 is not reached and error to execute sonarqube , failed to download library from server.

any help why this is happening like this.

Regards,
Manish

Hi Manish,

It sounds like maybe you haven’t done the global configuration to set up a server. See step 2 under installation in the docs.

 
Ann