2 possibilites :
being able when creating a job to choose a parser for this plugin + also choose a value for one or two or 3 parameters.
The number and name of parameters could be configured in the parser configuration in jenkins configuration.
Then these parameters could be used in the groovy script.
Exemple of use :
parser toto choosen with parameter "severity = error only"
then in the groovy script we could ignore all warning that don't have the severity error.
currently each time a project need a little modification of a parser, I need to create a new parsed that is quite identical to the first one. When a bug is detected I need to correct several parser.
only one parser with configuration is cost and time effective
|Field||Original Value||New Value|
|Resolution||Won't Fix [ 2 ]|
|Status||Open [ 1 ]||Fixed but Unreleased [ 10203 ]|
|Resolution||Won't Fix [ 2 ]||Fixed [ 1 ]|
|Status||Fixed but Unreleased [ 10203 ]||Resolved [ 5 ]|