build selector "last successful matrix sub-build"

XMLWordPrintable

    • Type: New Feature
    • Resolution: Not A Defect
    • Priority: Minor
    • Component/s: copyartifact-plugin
    • Environment:
      Jenkins ver. 1.594

      I would like to know how to better to use the "matrix reloaded" feature in combination with the "copy artefacts".

      I have a matrix build that has 2 dimensions: component, platform

      server, win => OK , build=1
      client, win, => OK , build=1
      client, mac => OK , build=1

      at the end, the artefacts are archived.

      server, win => OK , build=2
      client, win => FAIL
      client, mac => OK , build=2

      when one of those 6 fails, I would like to be able to do a new build, to rebuild the failed component
      client, win => OK , build=3

      now, I have another build that does a "copy artefacts" from this matrix build.

      I would like a build selector to use the following builds:
      server, win => OK , build=2
      client, win => OK , build=3
      client, mac => OK , build=2

      now, the failed build (2nd) does not copy the artifacts,
      and the "last successful build" (3rd) only copies the archived
      artefacts from that build. so I end up with
      server, win => OK , build=1
      client, win => OK , build=3
      client, mac => OK , build=1

            Assignee:
            Unassigned
            Reporter:
            lode leroy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: