2015-02-11 at 08:53, Wojciech Korzenny wrote:
Hi.
I'm trying to configure job in Jenkins with some list of parameters.
I'd like have some PARAMETER_X which turns to read-only (or
disappeared at all) when PARAMETER_Y (simple choice parameter or
choice parameter supplied by Scriptler) has value XYZ, otherwise
PARAMETER_X is read-write (string/choice parameter).
Is it possible?
I don't think there is a plugin for that but you could implement that
with a user-side script.
Here is something you might want to start with:
https://github.com/Eccenux/jenkins-scripts
Specifically this is a script used for grouping (hiding a group of
parameters based on a checkbox state):
https://github.com/Eccenux/jenkins-scripts/blob/master/theme/nux-js/parameter-grouping.js
Regards,
Nux.
--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/54DB0D88.6020902%40mol.com.pl.
For more options, visit https://groups.google.com/d/optout.