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

Support a list of glob pattens to include/exclude files in zip step

XMLWordPrintable

      I have a case where I need a list of glob patterns both for inclusion and exclusion.

      Many other plugins allow to specify a comma separated list of glob patterns. This would work, since it's a common pattern, but I never know whether I can/should use "a,b" or "a, b" (how does the parser handle spaces around the comma?)

      So the preferred solution would be two new parameters: globList and excludeList which are of type List<String>.

      If a path is in any globList, it's in, if it's in any excludeList, it's out (even when it's also in the globList).

      A generic solution that would also work for the other archiving steps (unzip, (un-)tar) would be great to avoid confusion.

            rsandell rsandell
            pdark pdark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: