Issue Type: Bug Bug
Assignee: Gregory Boissinot
Components: envinject
Created: 06/Jul/12 9:49 PM
Description:

Global & node level variables do not seem to work like intended.

Master & node configuration:
  • /configure: PATH set to $PATH:/foo/
  • /computer/not_master/configure: PATH set to $PATH:/bar/
Job configuration:
  • Default "Prepare an environment for the run" enabled, Properties Content: FOO=BAR
  • Execute shell script: echo $PATH
Expected output:
  • When run on master: <old path>:/foo/
  • When run on non-master: <old path>:/foo/:/bar/
Actual output:
  • When run on master: <old path> (no /foo/)
  • When run on non-master: $PATH:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/:/bar/ (literally contains the string $PATH)

Also, the non-master job says: [EnvInject] - Unset unresolved 'PATH' variable. The master job doesn't print this.

Environment: Jenkins 1.472
EnvInject 1.60
Project: Jenkins
Priority: Major Major
Reporter: Jørgen Tjernø
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to