-
Bug
-
Resolution: Not A Defect
-
Blocker
-
None
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 seen 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
- is related to
-
JENKINS-15061 Wrong LIBPATH when running ssh slave on AIX
-
- Closed
-