Giter VIP home page Giter VIP logo

jenkinsci / warnings-ng-plugin Goto Github PK

View Code? Open in Web Editor NEW
328.0 18.0 272.0 26.65 MB

Jenkins Warnings Plugin - Next Generation

Home Page: https://plugins.jenkins.io/warnings-ng/

License: MIT License

Shell 0.05% Java 85.73% HTML 13.14% CSS 0.23% JavaScript 0.46% Groovy 0.20% C# 0.10% Pascal 0.09%
static-analysis jenkins-plugin static-code-analysis error-prone spotbugs findbugs checkstyle pmd jenkins-warnings hacktoberfest

warnings-ng-plugin's Introduction

Jenkins Warnings Next Generation Plugin

Join the chat at https://gitter.im/jenkinsci/warnings-plugin Jenkins Plugin Installs Jenkins GitHub Actions Codecov

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 a 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 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 over time

Jenkins Warnings Plug-in

This code of this plugin is also available as a standalone GitHub or GitLab action that runs without Jenkins now:

  • Quality Monitor GitHub Action: action that monitors the quality of projects based on a configurable set of metrics and gives feedback on pull requests (or single commits) in GitHub.
  • GitHub Autograding action: action that automatically grades student software projects based on a configurable set of metrics and gives feedback on pull requests (or single commits) in GitHub.
  • GitLab Autograding action: action that automatically grades student software projects based on a configurable set of metrics and gives feedback on merge requests (or single commits) in GitLab.

Quality Monitor GitHub Action

If you are using Git as a 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):

  • commits count
  • different authors count
  • creation time
  • last modification time
  • lines of code (from the commit details)
  • code churn (changed lines since created)

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. Contributions are welcome, please refer to the separate CONTRIBUTING document for details on how to proceed!

All source code is licensed under the MIT license.

warnings-ng-plugin's People

Contributors

4nderl avatar a-msg avatar alexanderpraegla avatar amoser96 avatar amuniz avatar andipabst avatar apolovyi avatar arne2 avatar arturbosch avatar benjaminfuchs avatar darphbobo avatar dependabot-preview[bot] avatar dependabot[bot] avatar dieakutesense avatar evahabeeballah avatar hmsebastianh avatar jglick avatar kasperheyndrickx avatar lik9653 avatar m0j0isback avatar matthiasher avatar micansid avatar mmxkcd avatar pjdarton avatar redto avatar schlangguru avatar tobiasschaffner avatar tofuatjava avatar uhafner avatar xiongkezhi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.