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

Extend filtering capabilities (just support a _list_ of filters?)

XMLWordPrintable

      As somebody coming from Buildbot I'm used to having a "suppressionFile" (https://docs.buildbot.net/current/manual/configuration/steps/compile.html) to filter out a list of specific warnings. I could specify as many filters as I wanted, each one defined by:

      • Filename regular expression
      • Warning message regular expression (this "message" is the unparsed output, there is no concept of "category" or similar there)
      • Line range

      The "line range" part is obviously very fragile, you would be better filtering out the warning in a tool-specific way. But I guess it can be useful if the tool doesn't provide a filtering mechanism.

      As per https://issues.jenkins.io/browse/JENKINS-64702?focusedCommentId=403954&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-403954 the same is not possible with Jenkins/Warnings NG.

      My understanding is that the main missing thing is the capacity of specifying a "list" of filters, that in practice only "one" single filter is supported. You can get something similar via "or"/"|" in the regular expression, but it would quickly get messy and limiting.

            Unassigned Unassigned
            reddwarf94 Cristian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: