Running jenkins reports the error The system cannot find the file specified

[workspace] $ sh -xe C:\Windows\TEMP\hudson4419897732634199534.sh
The system cannot find the file specified

https://stackoverflow.com/questions/15135771/hudson-on-windows-error-java-io-ioexception- cannot-run-program-sh


This happens if you have specified your Windows command as "Execute shell" rather than "Execute Windows batch command".

It is because you use the wrong command window, just use Execute Windows batch command, he It means to use the command window command form of windows, and I used the form of Execute shell when I made a mistake above. This is a problem. It is a shell under linux, so the system file format is different.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326257690&siteId=291194637