It prepends /bin to $PATH automatically, so the environment becomes fubar 
(i carefully add /usr/xpg4/bin as you see, but for naught).

Building remotely on xxx in workspace /export/home/jenkins/workspace/test
> [test] $ /bin/sh -xe /var/tmp/hudson326357579872175476.sh
> /bin/pwd
> 2> /dev/null
> PWD=/export/home/jenkins/workspace/test
> + echo 
> /bin:/usr/xpg4/bin:/usr/xpg4/bin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/local/bin:/usr/ccs/bin
>
> /bin:/usr/xpg4/bin:/usr/xpg4/bin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/local/bin:/usr/ccs/bin


Also there's apparently no way to alter the shell to run the scripts, and 
the default /bin/sh is lame.

Reply via email to