How define variable to "Repository URL" on Pipeline

15 views
Skip to first unread message

Rodrigo Lima

unread,
Dec 9, 2017, 5:45:31 PM12/9/17
to Jenkins Users
Hi all,

I would like to know if there is a way to define variable name at "Repository URL" field on PipeLine job. For example, I have many repositories, like: 

g...@git.example.com:puppet/passwindows.git
g...@git.example.com:puppet/ntp.git
g...@git.example.com:puppet/crontab.git

I would like to define the "Repository URL" field like: g...@git.example.com:puppet/$REPO_NAME. 

This way, I do not need to create one Pipeline Job for each repository or do not need to create many repositories on the same Pipeline.


Tks,

Reply all
Reply to author
Forward
0 new messages