This plugin collects compiler warnings or issues reported by static analysis tools and visualizes the results.
Jenkins' Warnings Next Generation Plugin collects compiler warnings or issues reported by static analysis tools and visualizes the results. It has built-in support for almost hundred static analysis tools (including several compilers), see the list of supported report formats. It replaces the Jenkins Static Analysis Suite that has been part of the Jenkins plugin eco-system for more than ten years now. I.e. it makes the following Jenkins plugins obsolete: Android Lint, CheckStyle, Dry, FindBugs, PMD, Warnings, Static Analysis Utilities, Static Analysis Collector Plugins, Task Scanner, etc.
Plugin in action
You can see the plugin in action on our Jenkins CI instance:
The plugin provides the following features when added as a post build action (or step) to a job:
The plugin scans the console log of a Jenkins build or files in the workspace of your job for any kind of issues. There are almost one hundred report formats supported. Among the problems it can detect:
errors from your compiler (C, C#, Java, etc.)
warnings from a static analysis tool (CheckStyle, StyleCop, SpotBugs, etc.)
duplications from a copy-and-paste detector (CPD, Simian, etc.)
open tasks in comments of your source files
The plugin publishes a report of the issues found in your build, so you can navigate to a summary report from the main build page. From there you can also dive into the details:
distribution of new, fixed and outstanding issues
distribution of the issues by severity, category, type, module, or package
list of all issues including helpful comments from the reporting tool
annotated source code of the affected files
trend charts of the issues