-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins ver. 2.32.2
Logstash 1.20
AnsiColor 0.4.3
When using the build wrapper individual lines are prefixed with color annotations, e.g.
"message": [ "[8mha:////4IqgB7fXHanVzRcGsQ5BecPfeXyrcbQQQq0oTcEIP8zlAAAAYB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P0+vJLE4u1gvPjexLDVPzxdEGvvmZ+X75ZekLlOVfvTjc8FPJgaGiiIGKaiG5Py84vycVD1nCA1SyAABjCCFBQCV27OjYAAAAA==\u001b[0m[INFO] --- jetty-jspc-maven-plugin:9.2.18.v20160721:jspc (jspc) @ server ---" ]
See also: https://github.com/dblock/jenkins-ansicolor-plugin/issues/15
- relates to
-
JENKINS-6034 Console log contains junk in Hudson 1.352
-
- Closed
-
-
JENKINS-6120 "unformatted" console output shall not contain any annotations
-
- Closed
-
-
JENKINS-7402 Build log regex matches encoded console notes
-
- Closed
-
-
JENKINS-5970 Provide an option to include or exclude console output annotations
-
- Closed
-
Code changed in jenkins
User: Markus Winter
Path:
pom.xml
src/main/java/jenkins/plugins/logstash/LogstashOutputStream.java
src/test/java/jenkins/plugins/logstash/LogstashIntegrationTest.java
http://jenkins-ci.org/commit/logstash-plugin/188ea2b05f0c7ed3398caf63012b075ae7bb177f
Log:
JENKINS-42536fix ansi console note (#62)JENKINS-42536fix ansi console noteWhen a line starts with a console note we trimmed the leading escape
character before passing it to the removeNotes method. This makes it not
recognize as a console note. So trim after removing the notes.
*NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.