Colors are not displayed immediately after upgrading to 0.6.0
See original GitHub issueTest environment
- Jenkins Version: 2.151
- AnsiColor Version: 0.6.0
- Hostsystem: Linux
Expected behavior
When a pipeline build is triggered, if I immediately open the logs as soon as I trigger Build Now, the colors for that build won’t appear while I am tailing the logs on Jenkins.
If I press back on the browser, open the same build logs again, the logs appear in colors.
I am using a declarative pipeline and using ansiColor('xterm') inside options.
Actual behavior
The colors should appear always. Reverting the plugin to 0.5.3 fixes the issue.
Steps to reproduce the behavior
Create a pipeline with ansiColor('xterm') inside options.
Press build now and go fast to Console output. I believe you need to get there before the ansiColor option is executed.
The logs won’t display colors anymore. It will display again if you go back and open logs a second time.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:28
- Comments:29 (7 by maintainers)
Top Results From Across the Web
Colors are not displayed immediately after build using ...
After upgrading Jenkins AnsiColor plugin to version 0.6.0 or 0.6.1 or 0.6.2 colors are not immediately displayed in the Console log.
Read more >TOPAZ PHOTO AI (New UPDATE V 0.6.0) It Keeps ... - YouTube
SAVE 15% OFF the IMAGE QUALITY BUNDLE: https://www.topazlabs.com/image-quality-bundle/ref/434/SAVE NOW ON THE NEW TOPAZ PHOTO ...
Read more >View and set current colormap - MATLAB colormap - MathWorks
This MATLAB function sets the colormap for the current figure to one of the predefined colormaps.
Read more >Changelog - Kadence Theme
Fix: Issue with preview not showing correct background color. ... Update: Improve touch device menu navigation when in desktop header.
Read more >Upgrade Guide - Tailwind CSS
Tailwind CSS v2.0 is the first new major version since v1.0 was released ... The @tailwindcss/custom-forms plugin is not compatible with Tailwind CSS...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I have current latest Jenkins LTS 2.150.3 with AnsiColor 0.6.2 and I also observe same behavior as @kapoorlakshya . Before refresh I see control characters and no colors. After refresh the colors are displayed properly, no garbage control character. In classic console output. Preferred classic console to the new blue ocean so did not even install the blue ocean.
I have to confirm this issue: refreshing the console log (in classic UI) e.g. via pressing F5 is necessary.