question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Colors are not displayed immediately after upgrading to 0.6.0

See original GitHub issue

Test 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:closed
  • Created 5 years ago
  • Reactions:28
  • Comments:29 (7 by maintainers)

github_iconTop GitHub Comments

7reactions
tlvucommented, Mar 1, 2019

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.

6reactions
reinholdfueredercommented, Nov 22, 2018

I have to confirm this issue: refreshing the console log (in classic UI) e.g. via pressing F5 is necessary.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found