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

Improve includes

XMLWordPrintable

      The current method of setting up an include pattern using a single regex is awkward, at best.  It seems to require to you craft a regex that matches both the directory name and the file name(s) of everything you want to include.  This is problematic because I might want to include *.xml in one directory and *.groovy from another.  There is no clear way to specify that I want two separate inclusions:

      • foo/*.xml
      • bar/*

      This gets even more problematic when subdirectories are involved such as: `foo/bar/*.xml`

      I consider myself "proficient" in regex, and I have a hard time crafting a functional include list as it is implemented right now.

      ant-style patterns would be ideal since it is a battle-proven way to declare a set of file matches using simple semantics.

       

       

       

            Unassigned Unassigned
            crussell52 Chris Russell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: