Elastic axis plugin duplicates nodes when same node matches multiple labels

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: elastic-axis-plugin
    • None
    • Environment:
      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.

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

              Created:
              Updated: