use SONAR_HOST_URL if defined

XMLWordPrintable

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor
    • Component/s: influxdb-plugin
    • None
    • Environment:
      influxdb-plugin 1.14

      Our Sonarqube server has multiple web-endpoints for different types of authentication. The standard endpoint (port 443, which is displayed in the Jenkins console log) uses SSO authentication, and we have an endpoint at :8443 that uses the SONAR_AUTH_TOKEN.

      In JENKINS-47776, the ability to read SONAR_AUTH_TOKEN was introduced. I would like to extend that such that if SONAR_HOST_URL is defined, the influxdb-plugin will use that as the base URL rather than parsing the URL from the console log.

            Assignee:
            Aleksi Simell
            Reporter:
            Michael Griffin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: