Benchmark plugin to compare boolean and numerical results over the history of builds.
This plug-in adds a post-build capability.
This plug-in purpose is to benchmark over all of a job builds, boolean and numerical results through tables and graphs.
This plug-in has also a mechanism of thresholds over numerical values to control a build success or failure.
This plug-in is also designed to load any type of JSON or XML result
This plug-in works best in combination with an automated notification plug-in.
This plug-in works also as a result viewer for the 'jUnit Plug-in' and the 'xUnit Plug-in'.
This plug-in is accessible as a Jenkins pipeline component.
The documentation on how to use the plugin is located inside the Github repository.
For the plug-in one slide features, click HERE.
If you are interested in why this plug-in was created, please find the original proposal HERE.
- Add the benchmark plugin after a xUnit or jUnit post build step in the job configuration,
- Run the build.
The icon to access the plug-in result viewer should appear on the job main window.
Here are the links to the standard schema:
To use one, just select it in the dropdown menu of the plug-in configuration. The necessary schema format (JSON or XML) will be automatically detected.
Use the manual to build a custom schema: HERE
A custom schema can be either present in the workspace or added to a text field during the job configuration.
Closed InputStreams that led to threads being kept alive during import operations (Thank you Artalus S.).
Fixed detected XML parsing security issue.
Fixed issue where processing failed if the number of cores detected is 1 (Thank you Nick Charsley).
Fixed issue where values of String parameters appeared as N/A.
Removed hyphens from the main tables to allow numerical sorting.
Removed text versions (true/false) of Boolean results from the raw table to allow numerical sorting.
Adjusted left the Group/Result/Unit names for readability and prevent the awkward display.
Fixed a bug that occurred when changing schema content where old parameters ended as results and crashed the display of the main tables.
If the table display is frozen due to this bug, the workaround is:
- Update the plugin,
- Go where the job is stored on the master node [requires access rights],
- And, delete the file 'BenchmarkCondensed.json' in the job folder.
The file 'BenchmarkCondensed.json' will be recomposed during the next
Warning: Any result from past builds, absent in the new result file(s) will not be considered.
Following fixes by magik6k (Thank you).
Fixed issue with pipeline support.
Improved failure mechanism.
Added link inside README to a page on how to write the plugin script for pipeline.
Issues for last 3 updates identified by Shay Gal-on (Thank you)
Fixed issue with additional thresholds.
Fixed issue with result display.
Updated help text.
Fixed issue with multi-file processing.
Fixed issue with log content.
Fixed issue with ResultFull and ParameterFull for JSON.
Fixed issue with merge system.
Fixed issue with log content.
Switched loading of schema file from File to String; to InputStream to
Fixed issue preventing the link between condensed table and individual result pages.
First official release.
Initial commit as OpenSource under MIT license.
Added pipeline support.
Added Jenkinsfile for the plugin to be built by the Jenkins CI Infrastructure and check pull requests.
Fixed Findbugs warnings.
Added Findbugs exclude filter for specific warnings (see /src/findbugs/excludesFilter.xml for details).