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

This issue is archived. You can view it, but you can't modify it. Learn more

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.

            Assignee:
            rsandell
            Reporter:
            pdark
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: