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

Elastic axis plugin duplicates nodes when same node matches multiple labels

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • elastic-axis-plugin
    • None
    • Jenkins 1.532.1
      Elastic Axis 1.1

      The NodeLabeler plugin automatically labels nodes based on various permutations of their operating system name, architecture, and version. If I insert a comma separated list of labels where the same label matches more than once on a node, that node is included in the elastic axis plugin based axis definition multiple times.

      For example, my Windows 7 slave machines all have the labels "windows" and "windows-6.1". If I define an elastic axis on a job with "windows,windows-6.1" then the machines which match those labels will be listed twice and executed twice on that machine.

      It seems like the list of machines returned should have duplicates removed.

          [JENKINS-21364] Elastic axis plugin duplicates nodes when same node matches multiple labels

          There are no comments yet on this issue.

            Unassigned Unassigned
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: