Change By: Renu Chudamani (18/Mar/14 6:29 PM)
Environment: Jenkins master is Linux. Slave node is Windows 7 machine.
Description: When executing the TFS Plugin from a Linux master to a Windows 7 slave I am getting the following error:

bq.
17:00:52 [EnvInject] - Loading node environment variables.
17:00:53 Building remotely on VMWAYQA09 in workspace C:\jenkins-slave\workspace\AUT-Geb-Demo
17:00:53 [AUT-Geb-Demo] $ tf workspaces -format:brief -server:http://<server>:8080/tfs/2x ********
{color:red} 17:00:53 java.io.IOException: Cannot run program "tf" (in directory "C:\jenkins-slave\workspace\AUT-Geb-Demo"): CreateProcess error=2, The system cannot find the file specified {color:red}
17:00:53  at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
17:00:53  at hudson.Proc$LocalProc.<init>(Proc.java:244)
17:00:53  at hudson.Proc$LocalProc.<init>(Proc.java:216)
17:00:53  at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
17:00:53  at hudson.Launcher$ProcStarter.start(Launcher.java:353)
17:00:53  at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:998)
17:00:53  at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:965)
17:00:53  at hudson.remoting.UserRequest.perform(UserRequest.java:118)
17:00:53  at hudson.remoting.UserRequest.perform(UserRequest.java:48)
17:00:53  at hudson.remoting.Request$2.run(Request.java:328)
17:00:53  at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
17:00:53  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
17:00:53  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
17:00:53  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
17:00:53  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
17:00:53  at hudson.remoting.Engine$1$1.run(Engine.java:63)
17:00:53  at java.lang.Thread.run(Thread.java:662)
17:00:53 Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
17:00:53  at java.lang.ProcessImpl.create(Native Method)
17:00:53  at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
17:00:53  at java.lang.ProcessImpl.start(ProcessImpl.java:30)
17:00:53  at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
17:00:53  ... 16 more
17:00:53 Finished: FAILURE
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to