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

相关推荐
海鸥8118 分钟前
AIOps(智能运维)理解
运维·人工智能
码农小韩28 分钟前
Linux应用开发(一)——Linux的标准IO
linux·运维·服务器
路弥行至30 分钟前
Linux (ARM64 / Jetson) 挂载 exFAT 移动硬盘排障与离线安装指南
linux·运维·服务器·经验分享·笔记·jetson·exfat
漫谈数据智理31 分钟前
主动元数据为何是数据编织的核心——从“连接数据”走向“感知、理解与行动”的 Data Fabric
运维·fabric
数据库小学妹1 小时前
MySQL长事务复盘:Sleep连接、MDL排队与undo滞留
运维·数据库·mysql
云泽8081 小时前
Linux 系统编程实战:从零手写一个高性能终端进度条
linux·运维·服务器
Lsetea2 小时前
ACME 报 rate limit:Let‘s Encrypt 限速类型与重试策略
运维·https·证书·ssl·acme
A黄俊辉A3 小时前
两分钟上手docker
运维·docker·容器
邪修king3 小时前
Re: Linux系统篇(十八):进程篇(七): 进程深度解析:从 fork 创建到退出的完整旅程(附写时拷贝原理 + 代码实战)
java·linux·运维
湫默4 小时前
运维八股文
运维