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

Aggregate downstream test results does not work for Matrix projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core, matrix-project-plugin
    • None
    • Windows 7, Java 1.6.0_22, Hudson 1.383, xunit 1.11, copyartifact 1.10

      • create matrix projectA
      • add axis named x, values: a b
      • add build step that touches a file file.txt
      • archive file.txt as artifact, and fingerprint it
      • select to aggregate downstream test results
      • duplicate projectA, name it projectB
      • add build step to copy artifact file.txt from projectA/x=$x
      • fingerprint file.txt
      • seletc to publish testing tools report, do not fail build if tests not updated
      • build projectB once to create workspace, put a testresult xml in each
      • add post-build step to projectA 'build other projects' and select projectB
      • build projectA

      Test results from B do no make it into A:

      • status page of projectA, configuration a shows 'Latest Test Result (no tests)'
      • latest build page of projectA, configuration a shows 'Aggregated Test Result (no tests)'

      Following the same procedure, but for a normal project gives all the exepcted results though.

      (attached a zip with project config/workspaces that should be ready to try)

            Unassigned Unassigned
            apostasia apostasia
            Votes:
            48 Vote for this issue
            Watchers:
            48 Start watching this issue

              Created:
              Updated: