好吧,所以我花了几年时间试图设置这个jenkins服务器,并且到处都有错误。 大多数的答案都是针对linux的,这个jenkins服务器在windows上(如果你知道如何在linux jenkins im all上设置msbuild)。Jenkins无法连接到存储库:命令返回状态码128:
服务器的设置完全按照它应该做的那样,我正在做的最后一件超级超级基本的事情是试图从aws codecommit中提取回购,我拥有合适的角色和凭证。
我得到这个消息
Jenkins Failed to connect to repository :
"git.exe ls-remote -h https://repo-url HEAD" Command returned status code 128:
它接着说
stderr: fatal: unable to access 'https://repo-url': The requested URL returned error: 403
然而过去相同的命令复制到一个cmd窗口,它工作得很好。
有一个名为codecommit-url-helper
的插件,它也被安装和试用,它所做的一切都是对我的希望和梦想的巨大蹲下。
如果你的解决方案涉及詹金斯CLI,才知道我也试过了,但是:
C:\Users\Administrator\Downloads> java -jar jenkins-cli.jar -s http://localhost:8080/ help
Sep 21, 2016 2:14:33 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run
SEVERE: I/O error in channel Chunked connection to http://localhost:8080/cli
有人请帮我把泪擦干......