Jenkins Git Plugin Repository Url变量 [英] Jenkins Git Plugin Repository Url Variable
本文介绍了Jenkins Git Plugin Repository Url变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
$ j
$ b
https:// $ { GIT_USER}@github.com/e82eric/Prompts.git
当我尝试时,它看起来像 $ {GIT_USER}
被传递,而不是替换。
解决方案
a href =https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin =nofollow> Jenkins Git-Plugin页面,这应该是现在工作(2015年2月)。
已解决的问题包括:
$ b $ ul
Is it possible to use a variable in the repository url for the jenkins git plugin?
https://${GIT_USER}@github.com/e82eric/Prompts.git
When I try it looks like ${GIT_USER}
is passed instead of the substitution.
解决方案
According to the Jenkins Git-Plugin page, this should be working by now (Feb-2015).
Among the issues that were resolved:
- JENKINS-14276 - Git SCM-polling doesn't work when using a parametrized branch-name
- JENKINS-20427 - Build Parameter variable in branch name causes polling to detect false changes in GIT
- JENKINS-23675 - The git plugin is not working correctly when the repository url has job parameter and any repository credentials
- JENKINS-24786 - Since 2.2.6, environment variables are not expanded in git publisher
这篇关于Jenkins Git Plugin Repository Url变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文