Jenkins连接git时出现“Failed to connect to repository : Command ... HEAD" returned status code 128:”的问题解决
2017-02-04 15:09
1211 查看
网上说的解决方法如下:
其实生成ssh时不应该使用当前用户去生成ssh,而是使用jenkins这个用户去生成ssh,然后再去git服务器上配置你生成key,最后再jenkins上配置返回给你的key。
参考:
http://www.jianshu.com/p/ed0edb93e234
http://stackoverflow.com/questions/21557998/jenkins-failed-to-connect-to-repository
其实生成ssh时不应该使用当前用户去生成ssh,而是使用jenkins这个用户去生成ssh,然后再去git服务器上配置你生成key,最后再jenkins上配置返回给你的key。
参考:
http://www.jianshu.com/p/ed0edb93e234
http://stackoverflow.com/questions/21557998/jenkins-failed-to-connect-to-repository
相关文章推荐
- 解决git clone时,出现Failed to connect to 127.0.0.1 port 46759: 拒绝连接的问题
- Jenkins连接git时异常 Failed to connect to repository
- 解决连接mongoDB出现问题:MongoDB : Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused
- Jenkins连接git时异常 Failed to connect to repository
- 在ios 项目中出现 linker command failed with exit code 1 (use -v to see invocation)解决办法
- Jenkins Https方式获取Git代码 Failed to connect to repository 错误
- IOS如何解决烦人的“clang: error: linker command failed with exit code 1 (use -v to see invocation)”问题
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- linker command failed with exit code 1 (use -v to see invocation),经典Xcode编译错误的出现和解决!
- Jenkins Error: android: $GERRIT_REFSPEC" returned status code 128
- 解决安装svn后出现Unable to connect to a repository at URL以及"认证失败"
- xmpp框架搭建以及linker command failed with exit code 1 (use -v to see invocation)问题的解决
- Failed to fetch URl https://dl-ssl.google.com/android/repository/addo Android SDK更新以及ADT更新出现问题的解决办法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- Connector/Net 连接 MySQL远程服务器出现 "Unable to connect to any of the specified MySQL hosts" 解决方法
- xcode编译时候出现clang: error: linker command failed with exit code 1 (use -v to see invocation)的解决方法