Jenkins 部署jar包一直运行很长时间之后提示:Exception when publishing, exception message

Jenkins 部署提示错误信息如下:
ERROR: Exception when publishing, exception message [Exec timed out or was interrupted after 455,431 ms]
Build step ‘Send files or execute commands over SSH’ changed build result to UNSTABLE
No emails were triggered.
Finished: UNSTABLE
完成:不稳定

以上问题通过各种资料查找,目前没有找到有效的处理办法。
当前只能给出一种不友好的处理方法:在jenkins的项目里面的Configure里面配置一下超时时间(可以按照自己的意愿设置,但建议大于90秒,本处配置的单位是毫秒,所以需要转换一下),我目前配置的是120000。当jenkins部署的到最后的时候其实项目已经构建完成,且在linux服务器中也已经部署完成。当时间运行2分钟后就自动结束所有流程,但是整个状态还是:不稳定。
后续有时间或找到正确的处理方式再更新。

如果问题没有解决,欢迎留言,一起探讨。

猜你喜欢

转载自blog.csdn.net/m0_37997811/article/details/88897225
今日推荐