在使用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就可以了
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)