Status: Resolved (View Workflow)
This improvement is on the Blue Ocean project roadmap. Check the roadmap page for updates.
Has been requested that support for ANSI colours is desired
- Example of ansi-color http://bitmote.com/index.php?post/2012/11/19/Using-ANSI-Color-Codes-to-Colorize-Your-Bash-Prompt-on-Linux
- NODE JS module for converting ANSI text color to HTML https://www.npmjs.com/package/ansi-to-html
- Great ANSI test https://gist.github.com/ketan/2866a236596636311d64
- is related to
JENKINS-61907 Developer can see ANSI color in full log view
- relates to
JENKINS-46324 Support for ConsoleNote
- links to
Yes, currently you need to run your pipeline without ansiColor in order to see the colours in BO.
Happy to see this! It's way more thorough than my experimental patch I never had the time to fix tests for All I did was stop stripping the codes, and bookend them with injected
"tags" in the annotation stream.
Ooh, the use of comments rather than <span style="display: none">…</span> is a nice trick. Ported it
apgray remove the ansiColor, and colour codes should automatically show up I believe right sophistifunk?
ansiColor injects binary noise and wipes out the real ansi codes so can't work with blue ocean or any log viewed other than the jenkins log, due to a very bad design mistake early on.