Type: New Feature
Environment:Platform: All, OS: All
Warnings plugin should be able to configure one health threshold per priority
(HIGH, NORMAL, LOW).
The goal is, for example, to be able to fail the build when an amount of HIGH
priority warnings are detected and set to instable the build when an amount of
NORMAL priority warnings are detected.
A simple sketch could be:
Threshold1 is set-up by user for HIGH priority warnings
Threshold2 is set-up by user for NORMAL priority warnings
Threshold3 is set-up by user for LOW priority warnings
If nb of High Priority > Threshold1 => Build Failed
else if nb of Normal priority > Threshold2 => Build Unstable
else if nb of Low priority > Threshold3 => Build Unstable
else => Build Success