Jenkins console output with Ansi color plugin bug

Hi
We have upgrade our Jenkins from Jenkins 2.528.1to 2.541.3 and the console output for freestyle projects has changed.
The problem is that we use python logger library to color our ci logs and it seems like after the update something broke there and you need to refresh the page in oreder for the logs to get their colors and arrangement
e.g
how it was prior to the update

after. the update it loses it color and just shows as plain text, cant upload another image due to being a new user here

after a refresh it does fix it and we get the logs colored again
as part of the upgrade we also upgraded the plugin ansi color, as we saw this problem we downgraded it back (to 1.0.6) but the preoblem persists

Jenkins setup:
upgraded jenkin from 2.528.1to 2.541.3
ansi color plugin 1.0.6

Same issue for me after upgrading to Jenkins 2.541.3

Hmm so maybe a bug in this version?

I have the same problem, running Jenkins 2.555.1 with AnsiColor 536.v13fa_b_860c267

We have been experiencing this issue since version 2.541.2.

The ANSI Color plugin has the global setting “Global color map for all builds” available on the Jenkins system configuration interface. For a quick workaround, setting this to “xterm” fixed the issue for our projects (which are also configured to use the xterm color map).

As a note, the output seems to be displayed correctly even without the global setting, as long as it does not contain any non-color parameters. For instance, \033[32m works, while \033[0;32m does not.

Thanks!
seesm to have solved the issue on our side
we were configuring the ANSI in the project level but it seems that also configuring it in the global level as you said fixed it for us

Fixed it also for me, thanks! :slight_smile: