星空网 > 软件开发 > 操作系统

CentOS6下Jenkins连接Git服务器出错的问题

今天研究GitLab+Jenkins自动集成时,出现
Failed to connect to repository : Command "git config --local credential.helper store --file=/tmp/git2956041026506359040.credentials" returned status code 129:
stdout:
stderr: error: unknown option `local'
错误
发现时CentOS6安装的GIT版本时1.7.1所致,因yum源版本太旧,因此下载源码手动编译之:
# yum remove git
# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel -y
# yum install gcc perl-ExtUtils-MakeMaker -y
# wget https://www.kernel.org/pub/software/scm/git/git-2.7.1.tar.gz
# tar -xzvf git-2.7.1.tar.gz
# cd git-2.7.1
# make prefix=/usr/local/git all
# make prefix=/usr/local/git install
# ln -s /usr/local/git/bin/git /usr/bin/git




原标题:CentOS6下Jenkins连接Git服务器出错的问题

关键词:Centos

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

安全问题产品:https://www.goluckyvip.com/tag/8803.html
货运专线泰国:https://www.goluckyvip.com/tag/88033.html
去泰国专线:https://www.goluckyvip.com/tag/88035.html
义乌到泰国物流专线:https://www.goluckyvip.com/tag/88036.html
义乌到泰国专线物流:https://www.goluckyvip.com/tag/88037.html
泰国物流货运专线:https://www.goluckyvip.com/tag/88038.html
E-Bike品牌EMotorad获战略融资!:https://www.kjdsnews.com/a/1840707.html
Shopee订单量激增5倍多,越南成韩国美容品牌主要消费市场:https://www.kjdsnews.com/a/1840708.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流