-
Bug
-
Resolution: Fixed
-
Major
-
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.
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.
- is duplicated by
-
JENKINS-5970 Provide an option to include or exclude console output annotations
-
- Closed
-
- relates to
-
JENKINS-42536 Logstash output contains color annotations ([8mha...)
-
- Closed
-
I probably have the same issue though under two different conditions when the timestamper is active:
What I found striking is the fact that the garbage always started with Escape + [ + number + reallyRandomStuff.
You don't see it in the original mail but it was visible in my browser as replacement character 001B. Escape + [ + moreAsciiData is typically used to control terminals. So maybe it is some leftover from some function to control a virtual console within hudson?
This problem existed since timestamper v1.0 and is reproducibly away if timestamper is off.