warnings-ng-plugin

Jenkins Warnings Plugin - Next Generation

Jenkins Warnings Next Generation Plugin

Join the chat at https://gitter.im/jenkinsci/warnings-plugin
Jenkins Plugin
Jenkins Plugin Installs
Jenkins Version
JDK8
License: MIT

The Jenkins Next Generation Warnings plugin collects compiler warnings or issues reported by static analysis tools and
visualizes the results. It has built-in support for more than hundred report formats.
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.)
  • vulnerabilities
  • open tasks in comments of your source files

The Jenkins Next Generation Warnings plug-in replaces the whole Jenkins Static Analysis Suite.
I.e. it makes the following Jenkins plugins obsolete:
Android Lint, CheckStyle, Dry, FindBugs, PMD, Warnings, Static Analysis Utilities, Static Analysis Collector.

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

If you are using Git as source code management system then the warnings plugin will optionally mine
the repository in the style of
Code as a Crime Scene
(Adam Tornhill, November 2013) to determine statistics of the affected files (i.e. the files with issues):

  • total number of commits
  • total number of different authors
  • creation time
  • last modification time

Additionally, the plugin shows the last person who modified the code that contains an issue (and the last commit ID).
In order to use this functionality you need to install the optional
Git Forensics Plugin.

If your tool is not yet supported by the warnings plugin you can either define a new Groovy based parser in the
user interface or provide a parser within a new small plug-in. If the parser is useful for other teams as well
please share it and provide pull requests for the
Warnings Next Generation Plug-in and
the Analysis Parsers Library.

For more details please refer to the documentation or to an
introductory video.

All source code is licensed under the MIT license.

Jenkins
GitHub Actions
Codacy
Codecov
GitHub pull requests

主要指標

概覽
名稱與所有者jenkinsci/warnings-ng-plugin
主編程語言Java
編程語言Shell (語言數: 8)
平台
許可證MIT License
所有者活动
創建於2018-10-12 22:41:36
推送於2025-04-25 09:41:52
最后一次提交
發布數155
最新版本名稱v12.5.0 (發布於 2025-03-24 14:35:29)
第一版名稱warnings-ng-1.0.0-beta1 (發布於 2018-10-31 14:10:03)
用户参与
星數346
關注者數14
派生數282
提交數9.6k
已啟用問題?
問題數0
打開的問題數0
拉請求數1304
打開的拉請求數9
關閉的拉請求數694
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?