COPYRIGHT © 2017 AUTODESK INC.
This plug-in is designed for the CI/CD platform, Jenkins. This plug-in adds a post-build capability to benchmark between builds both boolean and numerical results through tables and graphs. The plug-in has also a mechanism of thresholds over numerical values to control a build success or failure.
- Create a job,
- Adding the post-build event called Benchmark results,
Note: The plug-in supports all types of jobs.
In default mode, the plug-in gathers any result files generated by the 'jUnit Plug-in' or 'xUnit Plug-in'.
- Place the 'Benchmark Plug-in' after the 'jUnit Plug-in' or the 'xUnit Plug-in' post-build event,
- Run a build.
- Configure the plug-in configurations:
- See below 'Plug-in configuration options' to fill the available options,
- See below 'Rules to build a schema' to build a custom schema.
- Run a build,
- If the build was successful, the following icon & text should appear on the job main page:
- Click on the link will load the 'Benchmark Tables',
- See below 'Plug-in table page' for a description of content.
- Click on any of the table rows to access details about the selected result,
- See below 'Plug-in result page' for a description of content.
WARNING: It is strongly suggested to keep the number of builds limited using the 'Discard Old Builds' option.
WARNING: If any data is missing, please check that the format of the result file is compatible with the selected schema.
- File search pattern to locate the result files relative to the workspace:
- Use comma ',' or semi-colon ';' as separator,
- Use the star character '*' to add wildcards,
- Create lists of locations inside "*.list" files.
If missing: The plugin will try to fetch any data generated by either the 'JUnit Plugin' or the 'xUnit Plugin'.
- Schema selector (Dropdown menu)
- Listed schema(s) are stored HERE,
- Use 4 to insert 'Custom schema'.
- Truncating strings affects loading speed and helps prevent RAM overloading.
- A text field will appear after clicking this button to insert a custom schema.
- See below for rules to build a custom schema.
- Additional result thresholds can be added at configuration time to determine result success or failure.
- Five types of optional thresholds are available:
- Absolute,
- Delta from average,
- Delta from previous,
- Percentage from average,
- Percentage from previous.
- Group name [can be omitted],
- Result name [can be omitted],
- The threshold parameters depend on the type of threshold:
- Maximum must above minimum if any specified,
- Delta must be above zero,
- Percentage is a value between 0 and 100.
Click HERE to access instructions.
JSON example:
XML example:
- Clicking on the title controls the display of the table underneath.
- Click to save the content of the table underneath to a CSV file.
- Two files for the raw table (result values & states with "passed"/"failed"),
- One file for the condensed table.
- Control the number of table entries, synchronized with the two tables.
- Search field, also synchronized with the two tables.
- Pagination, also synchronized with the two tables.
- Row headers, one per result.
- The 'Location' and 'Group' columns will only appear if they are necessary,
- The 'Location' represent only the delta between file paths,
- The full path can be found in the result page (see below).
- Every result values for every build.
- The cell coloring overlay represents the state of validation test(s) over the result,
- blank if no validation test was associated,
- green when all tests passed,
- red when at least one test failed.
- Clicking on a row will open the associated result page.
- The cell coloring overlay represents the state of validation test(s) over the result,
- Condensed results.
- All result have a count of failed and passed for the active number of saved builds,
- Numeral results have in addition minimum, maximum, average & std deviation,
- Clicking on a row will open the associated result page.
- Result name, group and file path.
- Button to go back to the page with tables.
- Clicking on the title controls the display of the content underneath.
- Graph for numeral results only.
- List of result values for all active saved builds.
- Clicking on a column will display underneath the associated result information for the selected build.
- Condensed values for this result.
- Detailed information for the result at the selected build [default = last].
- Parameters associated to the result at the selected build [default = last].