Dashboard View Plugin is based on JUnit XML reports.
But the JUnit plugin which generates test report XML files has a limitation - it does not support the rerun mechanism, so it's unable to merge different XML files of rerun cycles into a single file (as result we have a single file with the latest cycle run), and as result could not provide valid numbers of test statistics on Jenkins Dashboard.
The official repository was forked -
GitHub - jenkinsci/dashboard-view-plugin: Jenkins dashboard-view plugin
and updated with corresponding improvements -
GitHub - alexKazarin/dashboard-view-plugin: Jenkins dashboard-view plugin
HPI (output Jenkins plugins file) can be build locally:
mvn spotless:apply mvn verify -DskipTests mvn hpi:run -Djenkins.version=2.332.1OR justmvn clean spotless:apply verify -DskipTests hpi:run -Djenkins.version=2.332.1
After a successful build and local validation, the custom plugin could be installed into Jenkins as:
Manage Jenkins → Manage Plugins (Plugin Manager) → Advanced → Deploy Plugin → File HPI (and reboot required)
In the Updated Dashboard plugin, 3 new portlets are available - Statistics Chart, Trend Chart, and Statistics Grid.