Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add colored output to console #31

Open
rmboggs opened this issue Feb 26, 2012 · 1 comment
Open

Add colored output to console #31

rmboggs opened this issue Feb 26, 2012 · 1 comment

Comments

@rmboggs
Copy link
Member

rmboggs commented Feb 26, 2012

Setup the output of the build results to be displayed in color depending on the outcome of the build script tasks. For example, green output for successful runs, yellow output for warnings, and red output for errors.

@wernight
Copy link

wernight commented Apr 2, 2012

<fail> and error messages in red are the most important. Using ANSI color it should be very simple: Simply print "\033[31m" + message + "\033[0m" (where \033 is the character octal 033).

There are existing extensions like colornant, NAntColours, or http://twericliu.blogspot.co.uk/2008/03/colorized-nant-console-output.html . Most can't keep up to date with the source code, or simply don't work anymore without heavy work.

Once supported, simply having ANSI Color plugin in Jenkins allows to see NAnt error in Jenkins in a blink too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants