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

Plugin does not respect the jenkinsUrl configuration from configuration-as-code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • kubernetes-plugin
    • None
    • Jenkins 2.176.3, plugin version 1.19.1

      It appears the the "Jenkins URL" configuration in the main configuration is not properly over-writable from the configuration as code plugin.

      The configuration snippet below is always overwritten at runtime, it seems, with whatever the Kubernetes master Service IP turns out to be. In the case of my local testing of our Jenkins master image, which is not running in Kubernetes, after booting with the configuration below the "Jenkins URL" setting is `http://:`

      ---
      jenkins:
        clouds:
        - kubernetes:
            connectTimeout: 5
            jenkinsUrl: "https://some-external-dns-entry/"
      
      

            Unassigned Unassigned
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: