Articles

Jenkins Dashboard View plugin support Allure reports

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 -

 

and updated with corresponding improvements -

HPI (output Jenkins plugins file) can be build locally:

mvn spotless:apply mvn verify -DskipTests mvn hpi:run -Djenkins.version=2.332.1
OR just
mvn 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.






During implementation, multiple improvements to the existing plugin were made.
*Feel free to open new improvement PR