天天看点

jenkins 执行 shell脚本不稳定

报错:

ERROR: Exception when publishing, exception message [Exec timed out or was interrupted after 120,000 ms]

Build step 'Send files or execute commands over SSH' changed build result to UNSTABLE

jenkins 执行 shell脚本如果超时的话可以增加超时时间;但是如果是启动项目,项目启动成功了,但 jenkins没有成功返回,还是处于连接状态,而且长时间连接一直没有结果,则是其他原因导致的,解决办法如下图,勾选 

jenkins 执行 shell脚本不稳定
jenkins 执行 shell脚本不稳定