Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50720

Sonarqube Scanner 2.7 is ignoring the Server URL setting in Jenkins config when checking quality gate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • sonar-plugin
    • None
    • Sonarqube scanner 2.7
      Jenkins 2.107.1 (docker)

      The Sonarqube scanner is ignoring the Server URL parameter in the Jenkins config when querying Sonar for the quality gate status. It is using Sonar's own address instead. 

      I have an IP address set in Jenkins (as the intranet DNS will not resolve there), whereas for users I have a friendly hostname set in Sonar. Jenkins tries to resolve the friendly hostname instead of the Server URL I specify, which fails, and breaks the build.

      I've reverted back to 2.6.x for now.

            sonarteam Sonar Team
            dbsanfte David Sanftenberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: