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

Use the Jenkins URL configured under "Jenkins Location" instead of having a separate "Build Server URL"

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • slack-plugin
    • None
    • Slack plugin 1.8 (and earlier)

      The slack plugin configuration has a "Build Server URL" value which seems duplicative of the "Jenkins URL" value captured under the "Jenkins Location" section of the same global configuration page. Why cannot the value from this later location be used and the former be done away with?

      This value is accessible via the static accessor:
      jenkins.model.JenkinsLocationConfiguration.get().getUrl()

      These two values got out of sync on one of our servers and caused from frustrated head scratching until we figured it out.

          [JENKINS-29950] Use the Jenkins URL configured under "Jenkins Location" instead of having a separate "Build Server URL"

          There are no comments yet on this issue.

            sag47 Sam Gleske
            kbaltrinic Kenneth Baltrinic
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: