jeudi 6 octobre 2016

Jenkins: How to show/hide string parameter fields, after checkbox is un/checked?

I need to create jenkins job, which install product.iso on defined machine. I have 2 options: latest.iso (path to it is already known) custom.iso (path have to be determined manually)

Best implementation would be for me a checkbox named: "install custom iso"

When user choose(check) this checkbox - two string parameter fields would appear below (for determine IP and PATH of custom iso.) When user uncheck this checkbox - these two string parameter fields dissappear (and default latest.iso would be installed)

I've searched through many jenkins plugins, but it seems, that non of them allows this kind of action, which is strange to me, because i think, that this type of action is frequently needed.

Is there any simple way to do it? Any help would be appreciated.




Aucun commentaire:

Enregistrer un commentaire