Automating Code Analysis with Hudson [1115]
• Software Development • Continuous integration, FindBugs, Hudson, PMD, Static code analysis
As part of setting up continuous integration and automated builds and source analysis, the next step is to integrate in the source analysis parts.
To this end, I installed the following plugins:
Task Scanner
FindBugs
CheckStyle
PMD
After restarting Hudson, there are a few additional configuration bits to complete.
I added an additional build step and set the goal as
checkstyle:checkstyle findbugs:findbugs pmd:pmd
I then enabled the four plugins, saved, ran a build and et voila... Just like magic