Jenkins连接git时异常 Failed to connect to repository

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 'https://git.oschina.net/demo/demo.git/' not found

添加Credentials, 单击Add按钮, Kind字段选择Username with password, 输入git的用户名和密码, 重新填写Repository URL就可以了

你可能感兴趣的:(Jenkins)