尝试通过jenkins克隆git repo时出错



我在同一台服务器上安装了git和Jenkins。在尝试通过Jenkins克隆存储库时,我面临以下问题。请帮我解决这个问题。

stderr: No ECDSA host key is known for 192.168.1.244 and you have requested strict checking. Host key verification failed. fatal: Could not read from remote repository.

使用与运行Jenkins的帐户相同的帐户"user",尝试使用ssh -Ti /path/to/private/key user@server

它应该问(仅一次(这样的问题:

The authenticity of host '[hostname] ([IP address])' can't be established.
RSA key fingerprint is [key fingerprint].
Are you sure you want to continue connecting (yes/no)?

回答"是",詹金斯不应该再阻止这一步。

最新更新