Assume I have a job at jenkins . and am trying to build it with parameters. Assume I have 2 parameters say para1 and para2.
para1 is of choice type parameter with 'yes' and 'No' value
I want para2 to be available in the UI only when 'yes' is selected in para1. otherwise i dont want this parameter itself displayed in the UI
We have following plugins
- https://wiki.jenkins.io/display/JENKINS/Active+Choices+Plugin
- https://wiki.jenkins.io/display/JENKINS/Reactive+Reference+Dynamic+Parameter+Controls
but these will allow to dynamically return values for a parameter based on any reference i.e any prev paramter value,
but not to disable a parameter itself from a job while it builds, like the user should not see the parameter name itself in UI while building the job , in my case para2 should not be seen when 'No' selected in para1 ...
any suggestion or workaround to acheive my scenario ?
Many Thanks