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

Need a new option for BUILD_LOG macro to truncate a tail

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • token-macro-plugin
    • None

      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.

       

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

              Created:
              Updated:
              Resolved: