[
https://issues.jenkins-ci.org/browse/JENKINS-12905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
gbois resolved JENKINS-12905.
-----------------------------
Resolution: Fixed
> PATH variable is not injected
> -----------------------------
>
> Key: JENKINS-12905
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12905
> Project: Jenkins
> Issue Type: Bug
> Components: envinject
> Environment: jenkins 1.448
> envinject 1.29
> Reporter: Natalia Naumova
> Assignee: gbois
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira