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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Show
          haridsv Hari Dara added a comment - PR:  https://github.com/jenkinsci/token-macro-plugin/pull/41

            People

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

              Dates

              Created:
              Updated:
              Resolved: