This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      I am new to using this plugin so please bear with me.  I am trying to use this type of login in my active choices reactive parameter groovey code but nothing I am doing seems to work:

      if (Node.contains("name_of_slave_node")) {
       return ["you_chose_slave_node"]
      } else {
      return ["master"]
      }
      

      I basically want to drive a set of choices based on the node that they chose to run the build.  This may not be the correct path for this but if anyone could help guide me I would really appreciate it.

       

      I am using Jenkins 2.39 on windows.

            Assignee:
            Bruno P. Kinoshita
            Reporter:
            Timothy Henderson
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: