It's hard to say without seeing the scripts. However, one thing that
usually happens is that scripts realize they're not running in a terminal
and turn off coloring. Could that be happening?

I mean, the difference between:

ls --color=auto | cat

ls --color=always | cat

You'll see colors in the second one, but not in the first. Since GoCD
doesn't run the script in a terminal, it could be not sending colors at
all. You could check the raw output logs to see if it has the color
information.

Cheers,
Aravind


On Tue, Apr 24, 2018 at 9:36 AM, <[email protected]> wrote:

> Hi all,
>
> Using the command line option, I have a bunch of python scripts which
> interact with services like Jenkins. I am using a colorlog library to
> better differentiate between the different log levels. However, GoCD does
> not render the console output as such. Are there any tricks that will
> enable me to do what I am trying to achieve here? GoCD is running on CentOS
> 7.x.
>
> Thanks.
>
> Brendon
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to