YOU should be able to clone the repository and run mavens “install” lifecycle and produce an phi (based on the packaging of the project: https://github.com/jenkinsci/nodelabelparameter-plugin/blob/master/pom.xml#L15
On Fri, Aug 3, 2018 at 7:19 AM marouane zhani <[email protected]> wrote: > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/d73339e7-b671-46d2-9ea4-dc8ae32607e5%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/d73339e7-b671-46d2-9ea4-dc8ae32607e5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9KR7kbcTBA6%3DW7ifKYKnqka7FYo-fks6FOusANqz14%3Dvw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
