Regression Plugins (regrplugin)
Regression Plugins allow customizing the Regression pages with actions or analysis.
This allows invoking any script from the server (Python, Ruby, Perl, etc), so you can perform any Regression-based operation from the server and send the result back to the user.
- The plugin can also hyperlink the user to an external website (e.g. Github, Jenkins, etc.).
How to add a Regression Plugin?
To add a Regression Plugin to your Simscope instance, edit your
simscope.config
file, and a [regrplugin]
section
with the script name.
Example Regression plugins
Regression Model Diff
To view a checkin difference between the models on 2 regressions.
(This works for git diff
, Github, p4 diff
, etc.)
→ Use Regression Diff plugin.
Jenkins Hyperlink
Redirect from a Regression name to a Jenkins hyperlink.
→ Use Regression External URL plugin.
Build/Test Option Summary
The simscope-option-summary
plugin creates a Matrix view of all options used
across a regression's simulations or compiles, along with whether each passed or failed.
Example screenshot:
To enable the Option Summary for both build
and sim
:
# NOTE: rename [sim] to your simulation jobcategory
[regrplugin "1-sim-options"]
title = "Sim Options"
command = "PATH/bin/simscope-option-summary --category sim"
# NOTE: rename [build] to your compile job category
[regrplugin "2-build-options"]
title = "Build Options"
command = "PATH/bin/simscope-option-summary --category compile"