In our company we use legacy perforce plugin, which had support for wildcards in polling filters. A following view filer definition:
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.