jenkins 设置Git SSH凭证后,构建Git更新报错returned status code 128解决

报错问题如下:

Failed to connect to repository : Command "git ls-remote -h git@IP地址:python/django.git HEAD" returned status code 128:
stdout:
stderr: No ECDSA host key is known for (IP地址) and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

解决问题:

打开:Manage Jenkins >> Configure Global Security 找到Git Host Key Verification Configuration 选项按照如下图修改后保存

 

 注:上面的警告可以忽视

 

posted @   点点滴滴的努力  阅读(5744)  评论(1编辑  收藏  举报
相关博文:
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
点击右上角即可分享
微信分享提示