Figured it out, if anyone is having this issue make sure you restart the 
Windows Service after you add the mercurial installation path to the PATH 
environment variable.

On Monday, January 6, 2014 4:07:57 PM UTC-7, Dilmer Valecillos wrote:
>
> 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 
> <https://usrvdmzdeploy1/computer/Windows%20Slave> 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/commissionsjava.io.IOException 
> <http://stacktrace.jenkins-ci.org/search?query=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/commissionsFinished 
> <http://stacktrace.jenkins-ci.org/search?query=Finished>: FAILURE
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to