Note that there are some explanatory texts on larger screens.

plurals
  1. POProblems with "Aggregate downstream test results" in Hudson
    text
    copied!<p>My Hudson projects don't seem to properly aggregate downstream test results and I'm wondering if I've missed a configuration step somewhere. I have two projects, Foo and Foo-Tests, both of which are freestyle jobs.</p> <p>On project Foo I have the following configuration:</p> <ul> <li>Checked "Aggregate downstream test results".</li> <li>Checked "Automatically aggregate all downstream tests" under the previous option.</li> <li>Checked "Build other projects" and specified "Foo-Tests" to build.</li> </ul> <p>On project Foo-Tests I have the following configuration:</p> <ul> <li>Checked "Publish JUnit test result report" and specified my JUnit report XML files.</li> </ul> <p>When Foo builds, it builds successfully and correctly triggers a Foo-Tests build. The Foo-Tests build is successful and publishes the JUnit reports correctly. However, when I look for the aggregated test results in Foo, there's a "Latest Test Result (no tests)" link for the build which sends me to a 404.</p> <p>Here's what I've tried that doesn't solve the problem:</p> <ul> <li>Tell Foo to "Publish JUnit test result report" with no parameters (there are no tests in project Foo, just Foo-Tests). This caused an error since there were no test files for it to process within the project.</li> <li>Tell Foo-Tests to "Fingerprint all published artifacts" with no parameters (I was wondering if Hudson treated JUnit reports as artifacts behind the scenes). This caused an error since I hadn't explicitly defined any artifacts to publish.</li> </ul> <p>I'm using Hudson 1.266.</p> <p><em>Edit:</em> I should note that I've found two questions on the Hudson Users mailing list that have no answers and would possibly help solve this:</p> <ul> <li><a href="http://www.nabble.com/Can-someone-explain-how-%22Aggregate-downstream-test-results%22-works--td20947020.html#a20947020" rel="noreferrer">Question 1 (Nabble)</a></li> <li><a href="http://www.nabble.com/Aggregate-Test-Results-td18699694.html#a18699694" rel="noreferrer">Question 2 (Nabble)</a></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload