withEnv case wrong variable modified.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I have a system on which both NO_PROXY and no_proxy are defined already.

      I have a program I am trying to execute in my pipeline that reads only NO_PROXY.

      I tried to override NO_PROXY like:

      withEnv(["NO_PROXY=$NO_PROXY,otherthingy"])

      {   sh 'program' }

      but it mistakenly edits the 'no_proxy' version instead, not touching the NO_PROXY one.

            Assignee:
            Unassigned
            Reporter:
            Kevin Fox
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: