There's also a plugin for Jenkins that interprets ANSI color codes:
https://wiki.jenkins-ci.org/display/JENKINS/AnsiColor+Plugin

Lee, would you take a pull request that makes the "pretty" formatter to
behave like "auto color" mode in things like git, bash's ls, GNU grep, etc?
Color enabled when run interactively, disable color when output is a file
(or pipe or other non-terminal)?
 On 20/10/2013 4:50 AM, "Lee Hambley" <[email protected]> wrote:

> No Sorry clinton. If it's just Jenkins, then try one of the other
> formatters. The Pretty formatter prints colourised. They're easy enough to
> swap in and out, and you can fork the pretty one, and either contribute
> back an uncoloured one, or just use it yourself.
>
> Lee Hambley
> --
> http://lee.hambley.name/
> +49 (0) 170 298 5667
>
>
> On 19 October 2013 18:43, Clinton Blackburn 
> <[email protected]>wrote:
>
>> I have a Jenkins job that calls Capistrano, and the color codes (e.g.  *
>> [30m*) are littering my console logs. Is there a way to disable colors?
>>
>> Thanks,
>> Clinton
>>
>> --
>> --
>> * You received this message because you are subscribed to the Google
>> Groups "Capistrano" group.
>> * To post to this group, send email to [email protected]
>> * To unsubscribe from this group, send email to
>> [email protected] For more options, visit this
>> group at http://groups.google.com/group/capistrano?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Capistrano" 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/groups/opt_out.
>>
>
>  --
> --
> * You received this message because you are subscribed to the Google
> Groups "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this
> group at http://groups.google.com/group/capistrano?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Capistrano" 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/groups/opt_out.
>

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" 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/groups/opt_out.

Reply via email to