
Git
Haber001
积极、阳光、勇敢。
展开
-
git|SourceTree强制提交Push
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:masterPushing to https://github.com/JnLlnd/CSVBuddyTo https://github.com/JnLlnd/CSVBuddy ! [rejected] m原创 2014-10-28 14:49:49 · 8837 阅读 · 0 评论 -
Jenkins: Dynamic Choice Parameter get all branch list of git
Dynamic Choice Parameter: Choice Git branch when build Jenkins job在构建Jenkins Job时,需要选择Git库的branch. 可以用如下方式实现:在Git 库中用$BRANCH获取版本即可。效果如下:def gettags = ("git ls-remote -h https://ttt.xxx...原创 2015-02-27 10:17:02 · 4533 阅读 · 0 评论 -
Jenkins中动态获取git分支(下拉框)
def gettags = ("git ls-remote -h https://ip:port/xxx/xxx.git").execute()gettags.text.readLines().collect { it.split()[1].replaceAll('refs/heads/', '') }.unique()原创 2015-10-23 17:48:03 · 8466 阅读 · 1 评论