This plug-in generates reports static code violation detectors such as checkstyle, pmd, cpd, findbugs, codenarc, fxcop, stylecop and simian.
Note: Since version 0.6.0 the violations plugin works with the jenkins maven2 project type..
The violations plug-in scans for violation xml files of particular types in the build workspace, gathers the violations and reports on the numbers for each type. The currently supported types are:
Note: the following snapshots are from version 0.4, version 0.7 is similar (with pylint, fxcop, stylecop, simian and gendarme added).
Configuration should be easy, First you need to have activate the static code analysizers in your build. Then activate the Violations plugin as shown below.
The fields are:
After configuration, the Violations plugin will collect violations from the next build. The following pages are created or modified.
The project page is modified to add a violation icon ( ) and a violation trend graph:
Clicking on the violations link brings one to the current violations report.
The build page also has the violations trend and the violations icon. Clinking on the violations link brings one to the violations report for this particular build.
Note the following snapshots are from 0.4, 0.7 is similar, except that the +/- notation has been removed.
The start of the violations report page looks like this:
Linking on the file link brings on to the file report. This will show all the violations (up to a limit specified in the config page) of a file, Each violation has a line number, an icon representing the severity and a description of the violation. Hovering over the icon will give more detail on the violation - and for findbugs, this will be the long detailed message. After the list of violations, snipets from the source file will be shown for each violation. This will only happen if the violations plugin can find the file in question.
Version 0.7.7: upcoming
Version 0.7.6: Aug 01, 2010
Version 0.7.5: Dec 29, 2009
Version 0.7.3: Feb 11, 2009
Version 0.7.1: August 25, 2008
Version 0.7.0: May 28, 2008
Version 0.6.0: May 5, 2008
Version 0.5.8 April 22, 2008
Version 0.5.7 April 16, 2008
Version 0.5.6 April 8, 2008
Version 0.5.5 March 30, 2008
Version 0.5.3 Oct 22 2007
Version 0.5.2 Oct 10 2007
Version 0.5.1 Sep 28 2007
Version 0.5 Sep 24 2007
Version 0.4 Aug 15 2007
Version 0.3 Aug 10 2007
Version 0.2 Aug 08 2007
Version 0.1 Aug 08 2007
Skip to end of metadata Go to start of metadata