在jenkins中使用git的动态参数

时间:2015-09-21 10:40:19

标签: git jenkins continuous-integration

有没有办法在jenkins中动态获取 git参数

https://mygitaddressnothere:8888/$mygit.git

假设我正在使用变量mygit。

1 个答案:

答案 0 :(得分:0)

一段时间后,我发现了如何使用参数。

https://mygitaddressnothere:8888/${mygit}.git 

而不是:

http://mygitaddressnothere:8888/$mygit.git