tartley / colorama

Simple cross-platform colored terminal text in Python
BSD 3-Clause "New" or "Revised" License
3.51k stars 250 forks source link

colorama + JENKINS + AnsiColor Plugin #127

Open vit1251 opened 7 years ago

vit1251 commented 7 years ago

How to detect from colorama and setup x11 terminal?

wiggin15 commented 7 years ago

Hi. I'm not sure exactly what you are trying to detect and set up. From what I know, AnsiColor plugin for Jenkins works if you turn on the option "Color ANSI Console Output" in the job configuration. It should work with colorama.

vit1251 commented 7 years ago

@wiggin15 colorama no detect ANSI on console and does not provice ANSI code as result no colors.

wiggin15 commented 7 years ago

What operating system is the slave running? Maybe, if it is Windows, colorama converts the ANSI sequences instead of printing them...

grayaii commented 5 years ago

Weird. I'm getting the same thing. This is non-windows (Centos 7):

Screen Shot 2019-05-13 at 4 39 56 PM

It works fine from my terminal, so I bet colorama is not detecting something when run in Jenkins.

vit1251 commented 5 years ago

@grayaii it looks like a problem with CSS in Jenkins. I play with CSS in FireFox developer console and found some CSS errors (i.e. enable and disable some CSS for container). Could you please do the same actions for you Jenkins instance. If you can reproduce CSS issue then there is wrong place for issue and recquire create issue in Jenkins.

HallerPatrick commented 3 years ago

I am encountering the same issue, when using colorama. The slave agent is a linux machine. Isn't colorama just outputing escape sequences? Or what else is it doing?

jmeg-sfy commented 5 months ago

Hello same here, did someone find out how to fix this ?