Akl*_*aik 3 git github jenkins
我们一直在使用jenkins和github来构建应用程序。从过去的两天开始,jenkins无法从git中获取代码,并且在控制台中我发现错误是“ no kex alg”。有谁知道如何解决此错误?尽早提供任何帮助将不胜感激。
错误:获取远程回购“源”时
发生错误hudson.plugins.git.GitException:无法从hudson.plugins.git.GitSCM上的git@github.houston.entsvcs.net:Transportation-Seamless / tr-ace-config.git获取.fetchFrom(GitSCM.java:817)
原因:hudson.plugins.git.GitException:命令“ / usr / local / bin / git fetch --tags --progress git@github.houston.entsvcs.net:Transportation-Seamless /tr-ace-config.git + refs / heads / :refs / remotes / origin / “返回状态码128:stdout:
stderr:无kex alg
致命:远端意外挂断
在与詹金斯无关的情况下,我遇到了这个问题。
基本上,问题在于试图访问git的Linux机器太旧了,以至于Github不再接受加密算法。
正确的解决方案是更新相关软件包(即OpenSSH / OpenSSL)。
我无法做到这一点,因此不得不使用该方法rysnc来管理包装箱中的文件,直到淘汰