jenkins部署任务报错Host key verification failed


环境配置:jenkins +gitlab 部署

jenkins报错如下 Host key verification failed  Could not read from remote repository.

 XShell登录到后台查看到部署过程中出现

 后台直接用git 命令gitllab对应的报到本地

 再到页面部署任务,即可成功