I have a Windows Jenkins Master with some linux (centos 7) slaves. When I 
try and execute a Job on the Windows Master on the linux slave using a 
execute shell build step I get the following:

[Linux_TT_Execution_ManualRun_Job] $ C:\Windows\system32\cmd.exe -xe 
/tmp/jenkins3941323684764611011.sh*06:47:27* FATAL: command execution 
failed*06:47:27* java.io.IOException: error=2, No such file or directory

...

*06:47:27* Caused: java.io.IOException: Cannot run program 
"C:\Windows\system32\cmd.exe" (in directory 
"/var/lib/jenkins/workspace/Linux_TT_Execution_ManualRun_Job"): error=2, No 
such file or directory


How can I configure my job to use sh to execute my shell command?



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3258dbb6-dede-4b8b-8098-30b717ffceb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to