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 -- [email protected]: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 [email protected]:667e204e2f23b7ceb8971a0b/xjd/learning_teacher.git

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

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

相关推荐
资讯第一线4 小时前
Windows系统工具:WinToolsPlus 之 SQL Server Suspect/质疑/置疑/可疑/单用户等 修复
运维
惊起白鸽4504 小时前
LVS负载均衡
运维·负载均衡·lvs
伤不起bb6 小时前
NoSQL 之 Redis 配置与优化
linux·运维·数据库·redis·nosql
广东数字化转型6 小时前
nginx怎么使用nginx-rtmp-module模块实现直播间功能
linux·运维·nginx
love530love6 小时前
【笔记】在 MSYS2(MINGW64)中正确安装 Rust
运维·开发语言·人工智能·windows·笔记·python·rust
啵啵学习6 小时前
Linux 里 su 和 sudo 命令这两个有什么不一样?
linux·运维·服务器·单片机·ubuntu·centos·嵌入式
数字芯片实验室7 小时前
寄存器模型生成:从手工到自动化
运维·自动化
冰橙子id8 小时前
linux——磁盘和文件系统管理
linux·运维·服务器
咕噜企业签名分发-淼淼8 小时前
应用app的服务器如何增加高并发
运维·服务器
b***25118 小时前
18650锂电池组点焊机:高效组装锂电池的关键工具|比斯特自动化
运维·自动化