def envList = ['all']
envList.add('CE=DBAL ARC=yes')
envList.add('CE=RMQ CACHE=REDIS')
properties([ parameters([choice(choices: envList.join("\n"),
description: 'List of enviroment used for test', name:
'ENVLIST')]) ])
Hi,
How to use dynamic choice parameter in jenkinsfile?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6bbf662f-0eaf-470f-9b6e-72c505fea315%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- WBD, Viacheslav Dubrovskyi