2

The warning DE_MIGHT_IGNORE is judged as a Low priority message by FindBugs. How can I change the config to treat DE_MIGHT_IGNORE as a high priority message? Using Maven and Jenkins.

4

1 回答 1

0

I'm not too familar with FindBugs internals but as far as I see in the source code priority is decided at runtime and affected by various conditions. Unfortunately I have not found any way to change the priority of FindBugs warnings.

A workaround which we use is ignoring FindBugs' priority and creating separate FindBugs configurations (with different include and exclude filters) for our priorities. We have a FindBugs-HighPrio Jenkins job and a FindBugs-Others job for everything else.

于 2015-04-26T15:15:35.790 回答