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

Exclude warnings based on file regex patterns

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: warnings-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      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

          Hide
          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.

          Show
          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.
          Hide
          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

          Show
          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

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

              Dates

              Created:
              Updated:
              Resolved: