Issue Type: Bug Bug
Affects Versions: current
Assignee: Kohsuke Kawaguchi
Components: ssh-slaves
Created: 29/Oct/12 2:56 PM
Description:

When i invoke a task on aix by ssh, i get wrong value of $PATH variable.

First of all, /bin is prepended to it automatically. For me it's bad because there's a wrong version of utility in /bin, the good one is in /usr/local/bin.

Second, elements of the PATH variable i configure in the node properties are being doubled in the resulting PATH. Here's the value of the variable as see from the invoked script:

/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/vac/bin:/opt/freeware/bin:/usr/vac/bin:/opt/freeware/bin

While in the node properties (env vars) the configuration is:
/usr/local/bin:$PATH:/usr/vac/bin:/opt/freeware/bin

Project: Jenkins
Priority: Major Major
Reporter: Yury Pukhalsky
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