Jenkins Https方式获取Git代码 Failed to connect to repository 错误
来源:互联网 发布:centos识别不到硬盘 编辑:程序博客网 时间:2024/05/19 15:44
因为是一些个人项目,用SSH配置拿取代码比较麻烦,就试着用Http的方式,我用的Bitbucket,在网站上拿下来的Http链接如下:
https://username@bitbucket.org/hiqianjin/someproject.git
然后在Jenkins Repository URL 中填上上面的地址并配上正确的用户名和密码后会发现:Failed to connect to repository
找了N久,发现不是http方式有问题,是因为我们的地址格式需要变化一下,应该变成:
https://bitbucket.org/hiqianjin/someproject.git
然后就不会报错了。
参考:https://serverfault.com/questions/558666/failed-to-connect-to-repository-401-on-jenkins-codebase-git?newreg=762b1802eb154ff1802e15a898c4c162
GitHub如果遇到这样的问题,试着用同样的方式处理下。
0 0
- Jenkins Https方式获取Git代码 Failed to connect to repository 错误
- Jenkins连接git时异常 Failed to connect to repository
- Jenkins Failed to connect to repository
- 解决Failed to fectch URl https://dl-ssl.google.com/android/repository/addons_list.xml, reason: Connect
- Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connect
- Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connect
- informatica [REP_55102] Failed to connect to repository service如何解决?
- 安卓错误Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list.xml
- 为subclipse配置http代理,解决“RA layer request failed, Unable to connect to a repository at URL ..." 错误
- Unable to connect to a repository at URL '': authorization failed: Could not authenticate to server:
- jenkins(MAC Slave)svn: E170001: Unable to connect to a repository at URL
- Android SDK Manager更新错误,Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list
- git遇到的诡异错误: Failed connect to github.com:443
- Git的错误error: Failed connect to github.com:443;解决办法
- git遇到的诡异错误: Failed connect to github.com:443
- loadrunner中关于Failed to connect to server错误
- 解决:Unable to connect to repository https://dl-ssl.google.com/android/eclipse/site.xml
- 解决:Unable to connect to repository https://dl-ssl.google.com/android/eclipse/site.xml
- Excel中concatenate函数的使用方法
- 杂碎(2)
- CAS实现SSO单点登录原理
- 半全局立体匹配方法调研,以及一些立体匹配方向的思考
- ECSHOP添加购物车加图片飞入效果
- Jenkins Https方式获取Git代码 Failed to connect to repository 错误
- spring环境的搭建及作用和定义<一>
- 2015-11-29 LogCat消失太快&&定时执行任务&&PopuWindow背景模糊
- Android仿IOS三级级联城市选择器
- file not recognized: File format not recognized
- Error:没有这些操作数匹配的"<<"运算符,操作数类型为:std::ostream<<std::string
- 代码整洁之道之命名
- [网络基础]http的重点
- 使用angular.bootstrap完成模块的手动加载