大佬教程收集整理的这篇文章主要介绍了在 Ansible 服务器中复制数据时 Jenkins SSH 错误,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
在添加 post action build 时出现以下错误:
Commit message: "update index.HTML"
> /usr/bin/git rev-List --no-walk 1e3d628a211cde18805f193deca5e33a1c6291e7 # timeout=10
SSH: ConnecTing from host [ip-172-31-3-65.ap-south-1.compute.internal]
SSH: ConnecTing with configuration [jenkins] ...
ERROR: Exception when publishing,exception message [Failed to connect and initialize SSH connection. message: [Failed to connect session for config [jenkins]. message [Auth fail]]]
Build step 'Send files or execute commands over SSH' changed build result to UNStable
SSH: ConnecTing from host [ip-172-31-3-65.ap-south-1.compute.internal]
SSH: ConnecTing with configuration [Ansible] ...
SSH: EXEC: completed after 858 ms
SSH: disconnecTing configuration [Ansible] ...
ERROR: Exception when publishing,exception message [Exec exit status not zero. Status [1]]
Finished: UNStable
在 jenkins 中我使用了以下命令:
ansible-playbook /sourcecode/playbook.yml
我的 playbook.yml 是
- name: copy file from local host to remote host
copy:
src: /opt/index.HTML
dest: /var/www/HTML
我在什么地方犯了什么错误,你能帮帮我吗。
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)
以上是大佬教程为你收集整理的在 Ansible 服务器中复制数据时 Jenkins SSH 错误全部内容,希望文章能够帮你解决在 Ansible 服务器中复制数据时 Jenkins SSH 错误所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。