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

Add support for using wildcards in polling filters

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hello,

      This issue may duplicate JENKINS-45856 and is related to JENKINS-66169.

      In our company we use legacy perforce plugin, which had support for wildcards in polling filters. A following view filer definition:

      //depot/subdirectory-//.../*.txt

      filters out all *.txt files as irrelevant changes (that do not trigger build in jenkins).

      If changelist consists of only "//depot/subdirectory/docs/readme.txt" file, it would not trigger build.

      Currently, p4 plugin only supports providing full file paths in negative filters (that start with "-").

      Is it possible to include support for wildcards in polling filters?

      I have attached proposed solution, however I don't know how complete it is and if it collides with JENKINS-45856 or not.

        Attachments

          Issue Links

            Activity

            Hide
            p4karl Karl Wirth added a comment -

            Hi Daniel Jeznach - Thank you. I agree it duplicates the other issue but I will keep this one open so the developers can see the suggested code change. I am also marking it as P4_A so they will review it during the next sprint planning session.

            Show
            p4karl Karl Wirth added a comment - Hi Daniel Jeznach - Thank you. I agree it duplicates the other issue but I will keep this one open so the developers can see the suggested code change. I am also marking it as P4_A so they will review it during the next sprint planning session.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              daniel_jeznach_img Daniel Jeznach
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: