运行jenkins报错 The system cannot find the file specified
[workspace] $ sh -xe C:\Windows\TEMP\hudson4419897732634199534.shThe system cannot find the file specifiedhttps://stackoverflow.com/questions/15135771/hudson-on-windows-error-java-io-ioexceptio...
·
[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".
是因为用错了一个command的窗口, 用Execute Windows batch command 就可以了,他是指用windows 的command窗口命令形式,而上面我错误的那次用了Execute shell的形式, 这是有问题的,是linux下的shell,所以系统文件格式不同导致的。
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".
是因为用错了一个command的窗口, 用Execute Windows batch command 就可以了,他是指用windows 的command窗口命令形式,而上面我错误的那次用了Execute shell的形式, 这是有问题的,是linux下的shell,所以系统文件格式不同导致的。
更多推荐
已为社区贡献1条内容
所有评论(0)