Environment variables using PATH+SOMETHING syntax clear the previous env var

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: kubernetes-plugin
    • None

      withEnv(['PATH+MAVEN=/bin/mvn']) {
        sh 'echo $PATH'
      }
      

      will set PATH to /bin/mvn ignoring previous value

            Assignee:
            Carlos Sanchez
            Reporter:
            Carlos Sanchez
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: