Fedora Linux slave does not launch

20 views
Skip to first unread message

ELIASSAL

unread,
Apr 6, 2015, 8:49:16 AM4/6/15
to jenkins...@googlegroups.com
I have setup a new slave node which is a Fedora 20 box. I open the jenkins:8080, go to the node, try to launch it I get

[04/06/15 14:35:23] [SSH] Opening SSH connection to salamlinux:6001. [04/06/15 14:35:24] [SSH] Authentication successful.
SSH connection reports a garbage before a command execution
.
Check your .bashrc, .profile, and so on to make sure it is quiet.
The received junk text is as follows:
GVM
: JAVA_HOME not set and cannot find javac to deduce location, please set JAVA_HOME.

hudson
.AbortException
 at hudson
.plugins.sshslaves.SSHLauncher.verifyNoHeaderJunk(SSHLauncher.java:859)


When I ivestigate my JAVA_HOME on this box on terminal, I get 

salam@inux ~]$ echo $JAVA_HOME
/home/salam/jdk1.8.0_31


running which javac I get   ~/jdk1.8.0_31/bin/javac


Why slave is not able to find the JAVA_HOME? Thanks for your help
Reply all
Reply to author
Forward
0 new messages