Sonarqube jenkins

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

I installed sonarqube edition developper 8.2 on a separate machine and I use it with jenkins 2.150.3 on another machine and I installed the sonar plugin on it as well as sonarscanner
I configured system in jenkins to add url of my sonarqube as well as the token and in global tools of jenkins I added the home of my installation of sonarscanner. I use a jenkinsfile.
my problem is that i launch my build it fails because ERROR: SonarQube server [[http://******** can not be reached


That was a really quick rundown you gave of what you’ve done so far, but it looks correct (AFAICS). The questions to ask here are:

  • Is the SonarQube server URL correct?
  • Can you successfully curl that address from a session on the Jenkins server?