spotbugs-gradle-plugin icon indicating copy to clipboard operation
spotbugs-gradle-plugin copied to clipboard

Gradle : how to find newly introduced bugs between two runs of spotBugs??

Open Ravik5 opened this issue 3 years ago • 2 comments

Do we have something in gradle -> spotBugs to find newly introduced bugs between two runs of spotBugs ??

Ravik5 avatar Jan 27 '22 11:01 Ravik5

Just compare the diff of generated reports?

Another idea is using -excludeBugs option which uses an existing report as "baseline". Then the newly generated report only contain new bugs detected in the second run. I haven't tried this feature so it may not work as documented.

KengoTODA avatar Jan 29 '22 07:01 KengoTODA

I use the Jenkins warnings plugin for this purpose. Yes, I run a Jenkins server solely because of the warnings plugin.

matthiaskraaz avatar Jun 27 '23 11:06 matthiaskraaz