-
Improvement
-
Resolution: Fixed
-
Minor
-
None
When using pessimistic regex patterns with BUILD_LOG_REGEX you can end up including a large number of matches. There is the existing maxMatches parameter to limit it, but it is not very useful as it ends up including the oldest logs that are least relevant to an event that just occurred. E.g., when generating an email notification on a build failure, the newest error lines are what would be helpful than the oldest error lines. I am proposing that a new parameter be added to limit the matches to the tail end of it.