zarjay / Jenkins Console Colors

Published:

Version: 2.0.0+0c3f8f9 updated

Summary: Adds colors to the Jenkins console output

License: MIT; https://github.com/zarjay/userscripts/blob/master/LICENSE

Jenkins Console Colors

Is your Jenkins build console output colorless and boring? Does it have funky characters like ? This userscript adds colors to your Jenkins console in two ways:

  1. It converts text containing ANSI color escape codes into colorful HTML output. (This is done using the ansi_up library.)

  2. Adds colors to lines matching against text markers (e.g., ERROR: and Build succeeded). (Thanks to aaubry's Jenkins colored console userscript, which served as the original basis for this userscript.)

Feel free to modify this userscript with your own text markers and colors!

If you're not seeing console colors, make sure your build scripts are set to output console colors. Also, there's a Jenkins plugin available that also parses ANSI colors in your console: the AnsiColor Plugin. Depending your needs, you may want to use that plugin instead of this userscript.

Rating: 0