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')]) ])


08.09.2017 19:24, Shalabh srivastava пишет:
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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6bbf662f-0eaf-470f-9b6e-72c505fea315%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/6bbf662f-0eaf-470f-9b6e-72c505fea315%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
WBD,
Viacheslav Dubrovskyi

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c67b13fe-0cb7-94b4-8a6d-e5e911cb4754%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to