[default] $ sh -xe C:\Users\ADMINI~1\AppData\Local\Temp\jenkins16621990908783469038.sh The system cannot find the file specified FATAL: command execution failed
java.io.IOException: CreateProcess error=2, 系统找不到指定的文件。
找到git安装目录
C:\Program Files\Git\bin
找到sh
找到设置Manage Jenkins>System里面shell添加:
C:\Program Files\Git\bin\sh.exe
保存即可。再次运行