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

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: sonar-plugin
    • Labels:
      None
    • Environment:
      Sonarqube scanner 2.7
      Jenkins 2.107.1 (docker)
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              Created:
              Updated: