jenkins编译代码git脚本报错
Posted liqing1009
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jenkins编译代码git脚本报错相关的知识,希望对你有一定的参考价值。
+ 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脚本报错的主要内容,如果未能解决你的问题,请参考以下文章
jenkins介绍,Jenkins安装,Jenkins发布PHP代码
jenkins学习5-jenkins拉取git仓库代码,执行python自动化脚本