🔥🔥Jenkins构建失败显示黄色叹号

42 阅读1分钟

问题:构建报错,ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [2]] Build step 'Send build artifacts over SSH' changed build result to UNSTABLE

原因:配置构建后操作(Send build artifacts over SSH)Exec command 中有语法错误或者脚本写的不规范。

解决:可以点击高级查看输出的日志具体报错,根据报错修复即可。