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

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

XMLWordPrintable

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

      will set PATH to /bin/mvn ignoring previous value

            Assignee:
            Carlos Sanchez
            Reporter:
            Carlos Sanchez
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: