[JIRA] [tfs] (JENKINS-22251) Executing tf using the TFS Plugin throws an IO exception
Renu Chudamani commented on JENKINS-22251 Executing tf using the TFS Plugin throws an IO exception Also - needs to be mentioned that we have tried the following and they are successful. Hence, the hunch is that an issue with the plugin. 1. Executing the tf command by configuring a job as a Windows batch command on the slave works successfully. 2. Exceuting the tf command using the script console like this works successfully: Process p = "cmd /c tf".execute() println "${p.text}" 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.
[JIRA] [tfs] (JENKINS-22251) Executing tf using the TFS Plugin throws an IO exception
Renu Chudamani updated JENKINS-22251 Executing tf using the TFS Plugin throws an IO exception 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-Demo17:00:53 [AUT-Geb-Demo] $ tf workspaces -format:brief -server:http://: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.(Proc.java:244)17:00:53 at hudson.Proc$LocalProc.(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 specified17:00:53 at java.lang.ProcessImpl.create(Native Method)17:00:53 at java.lang.ProcessImpl.(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 more17: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.
[JIRA] [tfs] (JENKINS-22251) Executing tf using the TFS Plugin throws an IO exception
Renu Chudamani created JENKINS-22251 Executing tf using the TFS Plugin throws an IO exception Issue Type: Bug Assignee: redsolo Components: tfs Created: 18/Mar/14 6:21 PM Description: When executing the TFS Plugin from a Linux master to a Windows 7 slave I am getting the following error: 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://:8080/tfs/2x 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 17:00:53 at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) 17:00:53 at hudson.Proc$LocalProc.(Proc.java:244) 17:00:53 at hudson.Proc$LocalProc.(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.(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 Project: Jenkins Priority: Critical Reporter: Renu Chudamani 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.