Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2537

Checkstyle option for making build unstable if new violations found


    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • checkstyle-plugin
    • None
    • Platform: All, OS: All

      Would it be possible to add functionality to Checkstyle (or even all of the
      Static Code Analysis plugins: Findbugs, Compiler Warnings, etc.) that provides a
      configuration option that will make the build unstable if either A) the number
      of violations increased from the previous build or B) new violations were found
      from the previous build.

      These would be useful because the end goal of these plugins is to reduce the
      number of violations; these options would discourage new violations and help the
      overall trend go down, or at the very least not go up.

            drulli Ulli Hafner
            robhruska Rob Hruska
            0 Vote for this issue
            0 Start watching this issue