Parametrized build with conditional parameters

19 views
Skip to first unread message

alok kumar

unread,
Jul 29, 2015, 10:58:42 AM7/29/15
to jenkin...@googlegroups.com, jenkins...@googlegroups.com
Hi All,
I have an urgent requirement in which I need to use dynamic loading of parameters based on the value of another parameter.
I require something like e.g. a parameter which has value like classic and advanced.
Only if someone chooses advanced, the next set of parameters should get displayed. These next set of parameters could be anything like radio buttons, check boxes, string, text parameters.

I looked at a lot of plugins like extended chioce, dynamic choice, active choice, etc plugins, but, none of them seem to be addressing my requirement above.

Can someone please help me with the above?

Thanks,
Alok

Ioannis Moutsatsos

unread,
Aug 5, 2015, 4:04:34 PM8/5/15
to Jenkins Developers, jenkins...@googlegroups.com
Yes, active-choices v1.2 will do that for you.
You need to configure an AC Reactive Reference that will generate conditional HTML to display the required controls. This Reacive Reference will need to reference your 'classic/advance' option and create dynamic HTML conditionally.

As of v1.2 these Active Choices values can now be propagated to the build

Best regards
Ioannis
Reply all
Reply to author
Forward
0 new messages