Reputation: 468
I have a Jenkins task for deploy SVN tags. I have a List Subversion Tag parameter (TAGS) with my SVN repository to select the tag to deploy with a url like this http://svnserver/tags/productA I need add a previous parameter to select the product Parameter: PRODUCTS Values: productA, productB,....
and use the value selected in List Suversion tag parameter. If PRODUCTS=productA then TAGS= http://svnserver/tags/productA If PRODUCTS=productB then TAGS= http://svnserver/tags/productB
I tried with several plugin like "uno choice" or "active choices",.. but nothing.
Any idea. Thanks
Upvotes: 2
Views: 7685
Reputation: 10382
In my company, we are using Git and Linux.
For some jobs, I need to display the Git branches and I've used the Extended Choice Parameter plugin (with a Groovy script).
Here is my configuration:
I think you can use the same template with a svn command like that:
svn ls -v ^/tags
Upvotes: 1