欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 科技 > 能源 > Jenkins You‘re using ‘Known hosts file‘,known_hosts file does not exist

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

2024/11/30 13:24:42 来源:https://blog.csdn.net/admin_233/article/details/143432319  浏览:    关键词: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

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com