Basil Crow
unread,Apr 26, 2022, 2:09:57 PM4/26/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkin...@googlegroups.com
I, too, have had trouble passing the CI quality gate checks in plugins
with existing SpotBugs violations. In my opinion, it is better to
suppress SpotBugs violations at the Maven build level (or with
@SuppressFBWarnings annotations) than at the CI level by comparing
against a baseline, since that way failures are deterministic and the
status of the local build is identical to the status of the CI build.
In core, core components, and several plugins, I have added Spotbugs
exclusions to an XML file to ensure that existing violations do not
fail the build while new violations do.