Hello,
I want to define a node as a parameter for an "Active choices reactive parameter ". that means that I want to have a parameter in my job that is changing depending on the node parameter: if it's "slave1" the choices will be "TB1" and "TB2"; if it's "slave2" the choices will be "TB3" and "TB4" ...
I have two questions :
- How can I convert the src code shared in git (see the link below ) to a .hpi file in order to upload the plugin :
- In the meanwhile, I have tried to use a simple string choice parameter and set the node using this string in a groovy script ( inside the job, not in a pipeline) but I didn't succeed to do this. Do you know how to can I do this?
Thank you in advance for your help,
Marouane