sputnik
sputnik copied to clipboard
[Feature Request] Differentiate majors (-2) from minor (-1) violations
Hi,
I use Gerrit with the Sonar Integration.
I would like Sputnik vote -2 for blocker
violations, -1 for critical
, major
and +1 otherwise.
The current score strategy lets me configure only two values with the score.passingValue
and score.failingValue
. The other problem I encounter is the enum Severity
that is too coarse-grained (Blocker
, Critical
, Major
are all mapped to the same value ERROR
).
Do you think Sputnik could evolve to support this feature? I could contribute.
Regards,
Sure. This seems like a good configuration option.
Care to produce a pull request?