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

Exclude warnings based on file regex patterns

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • warnings-plugin
    • None
    • Platform: All, OS: All

    Description

      I'd like to be able to exclude some warnings from the report based on some regex
      patterns for the file names.

      While my immediate need is to filter out clover warnings, I can see the need to
      exclude warnings from files generated automatically by javacc for instance or
      other code generation tools.

      I'm willing to implement this myself but I just want to make sure there's a need
      for it before starting...

      Attachments

        Activity

          drulli Ulli Hafner added a comment -

          That's ok for me. This request is the first in this direction but it makes
          sense. Feel free to add a patch.

          drulli Ulli Hafner added a comment - That's ok for me. This request is the first in this direction but it makes sense. Feel free to add a patch.

          Code changed in hudson
          User: : xlv
          Path:
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/WarningsPublisher.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/FilesParser.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/ParserResult.java
          trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config.jelly
          trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config.properties
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/AntJavacParserTest.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=12129
          Log:
          [FIXED JENKINS-2359] Exclude warnings based on file regex patterns

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : xlv Path: trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/WarningsPublisher.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/FilesParser.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/ParserResult.java trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config.jelly trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config.properties trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/AntJavacParserTest.java http://fisheye4.cenqua.com/changelog/hudson/?cs=12129 Log: [FIXED JENKINS-2359] Exclude warnings based on file regex patterns

          People

            drulli Ulli Hafner
            xlv xlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: