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

Need a way to limit matches from the tail end of the log

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • token-macro-plugin
    • 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.

            haridsv Hari Dara
            haridsv Hari Dara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: