spotbugs / spotbugs-gradle-plugin

https://plugins.gradle.org/plugin/com.github.spotbugs
Apache License 2.0
180 stars 68 forks source link

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

Open Ravik5 opened 2 years ago

Ravik5 commented 2 years ago

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

KengoTODA commented 2 years ago

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.

matthiaskraaz commented 1 year ago

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