Jenkins连接git时异常 Failed to connect to repository
在使用Jenkins进行项目自动部署的时候,报错无法连接git仓库。Failed to connect to repository : Command "git.exe ls-remote -h https://git.oschina.net/sinama/bboss3.git HEAD" returned status code 128:stdout:stderr: remo
文章共138字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
在使用Jenkins进行项目自动部署的时候,报错无法连接git仓库。
Failed to connect to repository : Command "git.exe ls-remote -h https://git.oschina.net/sinama/bboss3.git HEAD" returned status code 128:
stdout:
stderr: remote: Not Found
fatal: repository 'your github url' not found
原因是没有在页面登录GitHub账号。
解决:添加Credentials, 单击Add按钮, Kind字段选择Username with password, 输入git的用户名和密码, 重新填写Repository URL就可以了
更多推荐
已为社区贡献1条内容
所有评论(0)