Status: Closed (View Workflow)
Jenkins version 1.594
JUnit Plugin Version - 1.3
xUnit Plugin Version - 1.92
All the above are latest at the time of posting this issue.
I've upgraded Jenkins from 1.575 to 1.594. After updating, then I open the job page, I see 2 graphs and links for the test reports. Though test reports are correct and available, there are 2 instance of it pointing to the same URLs.
I use xUnit plugin to publish my JUnit reports as I needed a way to change the build status based on the test PASS/FAIL count that I wanted which I was not able to do in JUnit plugin.
Also, all the builds are not shown in the graphs. In the reference image attached, I've been using both Cobertura and xUnit for all the builds, but test graph starts only from build #322 while it should've started from build #291 as in the Cobertura graph.
I've attached the screen shot of the job page and config page for reference.
And the config.xml has the following content under the publishers tag
Removed tag contents for brevity.
- is blocking
JENKINS-23713 Remove AbstractProject-ness from BuildStep
- is duplicated by
JENKINS-25649 Duplicate Test Reports in Projects
- is related to
JENKINS-24608 Test result link displays twice on matrix project page
JENKINS-25527 xUnit reports yield duplicated "Test Result Trend" charts
JENKINS-29175 "Latest Test Result" links displays twice on "Maven project" type when using xunit plugin
- links to
Still also experiencing this issue.
JUnit Plugin 1.2-beta-4
Xunit Plugin 1.101
This issue has still not been resolved,
I am using XUnit plugin and JUnit component.
I can see multiple "Latest Test Result" links,along with Multiple graphs.
Also the graphs have no data,where as the test cases can be seen by clicking on the "Latest Test Result" link.
Also the Test Result Trend has always the latest build number only and is always empty,
I can not replicate what ashu3112 wrote with recent version of XUnit 3 plugin
Thanks for the fix, its working perfectly.