Hello Alok,

There are Dynamic Choice Parameter and Dynamic Parameters plugins for this 
purpose.
See any of those can solve your problem.



From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Maciej Jaros
Sent: Wednesday, February 19, 2014 11:08 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Parametrized build with dynamically populating values

alok kumar (2014-02-19 17:43):
Hi All,
Is there a way in which I can submit a parametrized build in which the options 
available on one of the sections depend upon what value was chosen in the 
previous or any other parameter?
E.g. If the option chosen in the parameter form page is windows, it populates 
win7, win2008, win2003 dynamically in another parameter. On the other hand, if 
it is linux, it populates the same parameter with values such as SLES, RHEL, 
CENTOS, UBUNTU,etc.

Conditional step (multiple) should work. See example:
https://wiki.jenkins-ci.org/display/JENKINS/Run+Condition+Plugin#RunConditionPlugin-Example%3AControlexecutionbyastringparameter
--
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-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to