[Solved] Jenkins deploy task error: Host key verification failed

Environment configuration: Jenkins + gitlab deployment

Jenkins reported the following error: host key verification failed; could not read from remote repository

Xshell logs in to the background to view the problems during deployment

The background directly uses the GIT command gitllab to check in locally

Then go to the page to deploy the task, and you can succeed

Similar Posts: