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

相关推荐
爱潜水的小L11 分钟前
自学嵌入式day34,ipc进程间通信
linux·运维·服务器
zhuzewennamoamtf22 分钟前
Linux I2C设备驱动
linux·运维·服务器
梅尔文.古1 小时前
RaspberryPi-如何启用看门狗
linux·运维·服务器
木子欢儿1 小时前
Ubuntu 24 安装 fcitx5 + rime + 雾凇配置
linux·运维·服务器·ubuntu
sg_knight1 小时前
Nuxt 4 生产环境部署指南 (Node.js + Nginx)
运维·nginx·node.js·nuxt·ssr
企微自动化1 小时前
自动化报表生成:将 RPA 采集的群聊数据自动整理为可视化周报
运维·自动化·rpa
代码游侠1 小时前
学习笔记——IPC(进程间通信)
linux·运维·网络·笔记·学习·算法
txzz88881 小时前
CentOS-Stream-10 YUM配置文件
linux·运维·centos·yum配置文件
星融元asterfusion1 小时前
办公网+自建云:基于TIP OpenWiFi 控制器的混合组网一站式融合管理方案
运维·混合组网·openwifi
Henry Zhu1231 小时前
VPP中ACL源码详解第二篇:ACL数据平面处理
运维·服务器·网络·计算机网络