Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43057

Unable to access job parameter to select slave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Postponed
    • Icon: Major Major
    • multijob-plugin
    • None
    • Jenkins ver. 1.642.4.2 (CloudBees Jenkins Enterprise 15.11)
      Windows 7 SP1 64 Bit
      Firfox/IE/Chrome

      I want to use Groovy label-assignment plugin on a Multi Job to select by parameter on which slave a sub job should be executed (I already tried Node-parameter-plugin without success)

      The job gets run on the slave selected by the return value.

      However, I am not able to evaluate the parameters of the sub job.

      The method from help does not get the value of the parameter
      binding.getVariables().get("variable-name");
      nor does ANY of the procedures described on the Internet (Stack Overflow for example)

      Please help.

      Many thanks in advance!

            Unassigned Unassigned
            ralfwelt Ralf Welt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: