Jenkins报错Cannot run program "sh"

问题:Cannot run program "sh" (in directory "C:\Program Files (x86)\Jenkins\workspace\test_netcore_web"): CreateProcess error=2, 系统找不到指定的文件


解决:Manage Jenkins-> Configure System-> Shell-> Shell execute = C:\Windows\system32\cmd.exe

猜你喜欢

转载自www.cnblogs.com/xieyang07/p/12545742.html