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 seen that we can't choose a Node parameter as a reference in the 
latest version of "Node and Label parameter plugin " (version 1.7.2) and 
that this functionality will be supported starting from 1.7.3 version as 
explained 
here: https://github.com/jenkinsci/nodelabelparameter-plugin/pull/12

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 :
https://github.com/jenkinsci/nodelabelparameter-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 


-- 
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/d73339e7-b671-46d2-9ea4-dc8ae32607e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to