Jenkins view regular expression Jenkins view regular expression jenkins jenkins

Jenkins view regular expression


The asterisk * carries special semantics in regular expressions ( namely 'any number of repetitions, including no occurrence at all' ).

Basic regular expressions match at any position in the test string. Therefore you do not need to describe the complete target string(s) in the regular expression., though it is good practice to do so in order to avoid false positives and to potentially speed up execution.

In short:

  • Just drop the leading *, or
  • precede the leading * with a . (matches any character except newline/line feed), or
  • (recommended) make sure that paas is only matched between two full stop characters: \.paas\. ( since . has a special meaning in regular expressions, , you have to escape it ).


Also I think this seems to be case-sensitive. So if the folder name is Paas or PAAS, then it may not come in the filtered list of .paas.