Specify additional preset equations in JSON format or provide a URL to a JSON file containing preset equations.
This field accepts either:
https://raw.githubusercontent.com/judovana/jenkins-report-generic-chart-column/master/src/main/resources/io/jenkins/plugins/genericchart/presetEquations
The JSON format should follow the same structure as the built-in preset equations. These additional equations will be merged with the default preset equations, allowing you to extend or override the built-in definitions.
See examples.
Note that id is mandatory. See
more info.
Syntax rules:
/*1*/ for first param, /*2*/ for second, and so onExample JSON structure:
{
"equations": [
{
"name": "custom_threshold",
"description": "Custom threshold check",
"equation": "L[0] > 100",
"category": "custom"
}
]
}
Example URLs:
https://example.com/preset-equations.jsonfile:///var/jenkins/custom-equations.jsonLeave empty to use only the built-in preset equations.
Note: When this field is modified, the preset equations cache will be reset and reloaded.