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

withEnv case wrong variable modified.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              kfox1111 Kevin Fox
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: