jenkins 创建git job, command 命令可以clone 库,jenkins job 连不上

忆瑶 发布于 2015/06/19 16:45
阅读 2K+
收藏 0

我用一个commanline在linux下生成了public/private ssh key, 用git clone 没有问题,但是在jenkins 上创建了job,运行就是连不上,有人知道怎么回事吗?

Failed to connect to repository : Command "git ls-remote -h XXXHEAD" returned status code 128:
stdout: 
stderr: Permission denied, please try again. 
Permission denied, please try again. 
Permission denied (publickey,gssapi-with-mic,password). 
fatal: Could not read from remote repository.

加载中
返回顶部
顶部