码迷,mamicode.com
首页 > 其他好文 > 详细

jenkins编译代码git脚本报错

时间:2020-07-07 20:17:20      阅读:64      评论:0      收藏:0      [点我收藏+]

标签:orm   jenkins   user   ase   res   osi   origin   int   tla   

+ sh make_release.sh
fatal: could not read Username for ‘http://gitlab.yintech.net‘: No such device or address

vim .git/config

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = http://gitlab.***.net/tc/***.git
fetch = +refs/heads/*:refs/remotes/origin/*

改成

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = http://账户:密码@gitlab.***.net/tc/***.git
fetch = +refs/heads/*:refs/remotes/origin/*

jenkins编译代码git脚本报错

标签:orm   jenkins   user   ase   res   osi   origin   int   tla   

原文地址:https://www.cnblogs.com/liqing1009/p/13262637.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!