Colors in console

330 views
Skip to first unread message

Richard Heath

unread,
Feb 9, 2011, 3:34:13 PM2/9/11
to jenkins...@googlegroups.com

Hi,

 

We’re using Cucumber (http://cukes.info/) and Selenium 2 to run some browser based test as part of our CI builds and it’s working well.

 

Cucumber output can contain ANSI color codes to make it easier (viable!) to read. Is there any support for ANSI color codes in the Hudson console, either directly or through a plugin?

 

I’ve noticed colors on some text output by Ant in the console. BUILD SUCCESSFUL is blue for example.

 

Thanks,

 

Richard

Sami Tikka

unread,
Feb 13, 2011, 3:40:19 PM2/13/11
to jenkins...@googlegroups.com
AFAIK there is no support for ANSI color codes. But it would not be very difficult to make a plugin to get that. All the machinery is already in place. Like you saw, the Ant output coloring is done by a plugin in the Jenkins core. Another such plugin turns all URLs in console to clickable links.

-- Sami

Reply all
Reply to author
Forward
0 new messages