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

Need a new option for BUILD_LOG macro to truncate a tail

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When generating an email alert on a failure, I would like to highlight the failure message/exception all by itself in a separate section. If this error is already logged to console, it tends to repeat when including the tail of the console log using BUILD_LOG macro and reduce the readability of the email (I prefer crisp and concise emails). I can avoid this duplication if there is support for an additional parameter to drop the specified number of lines from the tail. This is also useful to remove boilerplate messages that always exist at the end of a build.

       

        Attachments

          Activity

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

            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: