Jenkins You‘re using ‘Known hosts file‘,known_hosts file does not exist

Jenkins环境构建时产生报错:

using GIT_SSH to set credentials ssh

Verifying host key using known hosts file

You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Security' -> 'Git Host Key Verification Configuration' and configure host key verification.

.> git fetch --tags --force --progress -- git@codeup.aliyun.com:667e204e71a0b/xjd/learning.git +refs/heads/:refs/remotes/origin/ # timeout=10

ERROR: Error fetching remote repo 'origin'

hudson.plugins.git.GitException: Failed to fetch from git@codeup.aliyun.com:667e204e2f23b7ceb8971a0b/xjd/learning_teacher.git

解决:参考这篇文章可排查问题

https://blog.csdn.net/admin_233/article/details/143422549

相关推荐
Karoku06629 分钟前
【CI/CD】CI/CD环境搭建流程和持续集成环境配置
运维·ci/cd·docker·容器·kubernetes·prometheus
勤奋的凯尔森同学3 小时前
webmin配置终端显示样式,模仿UbuntuDesktop终端
linux·运维·服务器·ubuntu·webmin
技术小齐8 小时前
网络运维学习笔记 016网工初级(HCIA-Datacom与CCNA-EI)PPP点对点协议和PPPoE以太网上的点对点协议(此处只讲华为)
运维·网络·学习
ITPUB-微风8 小时前
Service Mesh在爱奇艺的落地实践:架构、运维与扩展
运维·架构·service_mesh
落幕8 小时前
C语言-进程
linux·运维·服务器
chenbin5209 小时前
Jenkins 自动构建Job
运维·jenkins
java 凯9 小时前
Jenkins插件管理切换国内源地址
运维·jenkins
AI服务老曹9 小时前
运用先进的智能算法和优化模型,进行科学合理调度的智慧园区开源了
运维·人工智能·安全·开源·音视频
sszdzq10 小时前
Docker
运维·docker·容器
book012110 小时前
MySql数据库运维学习笔记
运维·数据库·mysql