• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • ssh-slaves-plugin
    • 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

            kohsuke Kohsuke Kawaguchi
            aikipooh Yury Pukhalsky
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: