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

NO_PROXY enviroment overwritten with side value on slave/JNLP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • _unsorted
    • None

      https://hub.docker.com/r/openshift/jenkins-2-centos7
      updated jenkins war /usr/lib/jenkins/jenkins.war 2.164.3
      updated all plugins
      Kubernetes plugin 1.15.4

      I have a kubernetes cloud plugin with kubernetes pod template configurated. There are HTTP_PROXY, HTTPS_PROXY, NO_PROXY variables is set with "Raw yaml for the Pod" in template configuration. I have a NO_PROXY with "jenkins," value overwriten but not appended ("jenkins,172.30.0.0/16,.local.test.domain...") to the variable. This behavior breaks pipelines with proxy-through routing to a local services with any NO_PROXY configuration in templates.

      It works good on old Jenkins 2.138.2 with Kubernetes plugin 1.12.8.

      I suspected that NO_PROXY enviroment has been overwriten with "Jenkins URL" hostname from configuration when slave nodes running.

      Sorry for my poor grammar.

            Unassigned Unassigned
            kichayda Danil Kichay
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: