jenkins在使用git拉取代码的时候,首先需要有git插件,其次服务器需要安装并设置git.
详细处置处罚方式可以查看:02-jenkins学习之旅-基础设置-CSDN博客 中的【2 git设置】
Failed to connect to repository: Command "gitexe ls-remote -h -- sh:/it bonnie@127.0.0.1:29418/jdzjw.git HEAD"retured status code 128 stdout:stderr: Host key verification failed.fatal: Could not read from remote repository.
Please make sure you have the correct access rightsand the repository exists.