Closed PradeepShetty14 closed 4 years ago
That depends on your CI system and needs. For example Jenkins has a plugin for publishing the results from Spotbugs. Spotbugs itself doesn't provide such things.
We want to integrate the spotbugs to the git hub PR process, Idea is to examine the code before the code is committed to the master branch. is there any limitation?
That depends on your build system. One way is to use the Maven plugin for Spotbugs to fail the build on errors (https://spotbugs.github.io/spotbugs-maven-plugin/check-mojo.html#failOnError).
Thanks it worked using the below command mvn clean install spotbugs:check -Dspotbugs.failOnError=True
Is there a plugin which can be integrated with github ?