Not taking environment variables

XMLWordPrintable

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Minor
    • Component/s: envinject-plugin
    • None
    • Environment:
      Jenkins 2.164.3 on Suse 12.1 using stand alone jenkins with slave also on suse 12.1.

      when running a job some environment variables are not being taken.

      In this example the environment is setup behind a proxy, and I need to make a connection to a server within the environment bypassing the proxy.Ā 

      The job print out shows that the server is attempting to connect to the target server through proxy, so the job fails as it can't.

      Viewing the Environment variables for that job I see the variableĀ no_proxy followed by the target servers name. When you ssh into the jenkins node and check environment variables you also see this value set.

      Ā 

      Now if I configure the within the jenkins job settings under execute shell to export the valueĀ no_proxy with the same values defined inĀ  what shows up under the environment variables and run the job it will connect to the server without proxy and the job will succeed. When I check the environment variables of that job, they are no different than the previous one that failed.

            Assignee:
            Unassigned
            Reporter:
            adam crane
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: