Got the same problem, the other way around. My master is Windows and the Linux slave is getting a bad PATH environment variable, where the master's JAVA_HOME/bin got injected:

PATH=D:\opt\jdk1.6.0_27/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

I noticed the problem when I tried to launch a freestyle job on the slave, executing a shell script. Try the following script to exhibit the bad PATH:

#!/bin/bash
env
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