All I'm having an issue with our first Windows Slave machine when trying to clone a mercurial repo:
- Mercurial is installed in the Windows Slave.
- The environment variable Path is set to the mercurial installation.
Any ideas?
Here're details of the error:
Started by remote host 127.0.0.1 with note: Triggered by push of revision f27225a1bb03: "Updated readme file" to https://bitbucket.org/stampinup/commissions/ by dilmerv
Building remotely on Windows Slave in workspace d:\Jenkins\workspace\Commissions - DEV
$ hg clone --rev default --noupdate https://bitbucket.org/stampinup/commissions "d:\Jenkins\workspace\Commissions - DEV"
ERROR: Failed to clone https://bitbucket.org/stampinup/commissions
java.io.IOException: Cannot run program "hg": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at hudson.Proc$LocalProc.<init>(Proc.java:244)
at hudson.Proc$LocalProc.<init>(Proc.java:216)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:763)
at hudson.Launcher$ProcStarter.start(Launcher.java:353)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:988)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:955)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:61)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 16 more
ERROR: Failed to clone https://bitbucket.org/stampinup/commissions
Finished: FAILURE