Hi,
I have a Windows master and Ubuntu 14.04 slave (VirtualBox). I successfully connected them by running
command and the output was:
Jul 21, 2015 3:22:08 PM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: Kole
Jul 21, 2015 3:22:08 PM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
Jul 21, 2015 3:22:08 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://192.168.56.1:8080/]
Jul 21, 2015 3:22:08 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Jul 21, 2015 3:22:08 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to 192.168.56.1:51149
Jul 21, 2015 3:22:08 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP2-connect
Jul 21, 2015 3:22:08 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connected
When I go master and check out for slave log, it confirms that everything is ok:
JNLP agent connected from /192.168.56.1
<===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 2.51
This is a Unix slave
Slave successfully connected and online
But when I try to build one of my projects, I get this error from console:
Started by user anonymous
Building remotely on Kole (python27 natty) in workspace /home/jenkins/workspace/jenkins-test
java.io.IOException: Failed to mkdirs: /home/jenkins/workspace/jenkins-test
at hudson.FilePath.mkdirs(FilePath.java:1164)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1275)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
at hudson.model.Run.execute(Run.java:1744)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:374)
Finished: FAILURE
Any help would be really appreciated!
Regards.