• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • email-ext-plugin
    • None

      Since Hudson 1.349, console notes can be embedded into the console output file. These notes are stored in an encoded format and are intended to be stripped out before the console is displayed.

      The build log regex functionality, since it reads from the console output file directly, puts these encoded notes into the email.

      http://hudson.361315.n4.nabble.com/Timestamper-plugin-and-email-ext-build-log-regex-produces-garbage-in-email-td2530211.html#a2530211

      These console notes can be stripped out by calling ConsoleNote.removeNotes(String) (introduced in Hudson 1.350) on each line as the BuildLogRegexContent class reads it from the log.

          [JENKINS-7402] Build log regex matches encoded console notes

          Steven G Brown created issue -
          ashlux made changes -
          Assignee New: ashlux [ ashlux ]
          StevenGBrown made changes -
          Description Original: Since Hudson 1.349, console notes can be embedded into the console output file. These notes are stored in an encoded format and are intended to be stripped out before the console is displayed.

          The build log regex functionality, since it reads from the console output file directly, puts these encoded notes into the email.

          http://hudson.361315.n4.nabble.com/Timestamper-plugin-and-email-ext-build-log-regex-produces-garbage-in-email-td2530211.html#a2530211

          These console notes can be stripped out by calling {{ConsoleNote.removeNotes(String)}} (introduced in Hudson 1.350) on each line as the {{BuildLogRegexContent}} class reads it from the log.
          New: Since Hudson 1.349, [console notes|https://hudson.dev.java.net/nonav/javadoc/hudson/console/ConsoleNote.html] can be embedded into the console output file. These notes are stored in an encoded format and are intended to be stripped out before the console is displayed.

          The build log regex functionality, since it reads from the console output file directly, puts these encoded notes into the email.

          http://hudson.361315.n4.nabble.com/Timestamper-plugin-and-email-ext-build-log-regex-produces-garbage-in-email-td2530211.html#a2530211

          These console notes can be stripped out by calling {{ConsoleNote.removeNotes(String)}} (introduced in Hudson 1.350) on each line as the {{BuildLogRegexContent}} class reads it from the log.
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          ashlux made changes -
          Link New: This issue is duplicated by JENKINS-5970 [ JENKINS-5970 ]
          Alex Earl made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 137501 ] New: JNJira + In-Review [ 204516 ]
          Jakub Bochenski made changes -
          Link New: This issue relates to JENKINS-42536 [ JENKINS-42536 ]

            ashlux ashlux
            stevengbrown Steven G Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: