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

PATH variable is not injected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • envinject-plugin
    • None
    • jenkins 1.448
      envinject 1.29

      With 1.29 update $PATH variable is not redefined:

      console:
      --------------------------
      [EnvInject] - Executing scripts and injecting environment variables after the SCM step.
      [EnvInject] - Injecting as environment variables the properties content
      PATH=/some/dir/:$PATH
      TEST_VAR=aaaaa

      [EnvInject] - Variables injected successfully.
      [EnvInject] - Unset unresolved 'PATH' variable.
      [testPATH] $ /bin/sh -xe /tmp/hudson2831645515572899066.sh
      + echo /usr/local/bin:/bin:/usr/bin
      /usr/local/bin:/bin:/usr/bin
      + echo aaaaa
      aaaaa
      --------------------------
      I need to redefine $PATH to use within actual build.

            gbois Gregory Boissinot
            nnau Natalia Naumova
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: