Checkstyle and Findbugs for changed files only on Jenkins (and/or Hudson)
问题 We work with a lot of legacy code and we think about introducing some metrics for new code. Is it possible to let Findbugs and Checkstyle run on changed files only instead of a complete project? It would be nice to assure that only file with a minimum of quality is checked in, but the code base itself is not (yet) touched and evaluated not to confuse people by thousands of issues. 回答1: In theory, it would be possible. You would use a shell script to parse the SVN (or whatever SCM) change logs