Status: Resolved (View Workflow)
The Junit test result showing all the class time duration as 1 sec while the class can take less or more then 1 sec in total.
The example job is Android tests job (using Gradle).
Package time and individual test time duration result are good.
- links to
So I need to wait for the next plugin release to solve this?
I can't tell. The junit plugin maintainer has no time to do code-reviews.
I also tried multiple times on IRC, but no review yet.
What you can do in any case is to compile the plugin yourself with the patch applied and install it manually.
IIRC it is either mvn install or mvn package that create the hpi file.
This is also what I did since I can't wait for an offical release.
Looks like a fix for this was released in version 1.27 of the plugin.
I had the same issue and created a PR to fix it: https://github.com/jenkinsci/junit-plugin/pull/66