Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added section with knownbugs

Wiki Markup
{jenkins-plugin-info:pluginId=ansicolor|sourceDir=../jenkinsci/ansicolor-plugin}

AnsiColor Plugin

Excerpt

This plugin adds support for ANSI escape sequences, including color, to Console Output.

...

The build wrapper can be used to colorize the output of steps in a pipeline build (plugin formally known as workflows). The example below shows how to use it.

Code Block

wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'xterm']) {
  sh 'something that outputs ansi colored stuff'
}

Also the following pipeline syntax can be used without allocating a node and a separate build wrapper.

Code Block

ansiColor('xterm') {
    echo 'something that outputs ansi colored stuff'
}

...

Fork me on Github at https://github.com/jenkinsci/ansicolor-plugin.

 

Known bugs

Jira
serverJenkins JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
maximumIssues20
jqlQuerycomponent = ansicolor-plugin and resolution is empty order by priority, updated
serverIddd058dce-0c66-3b77-8b09-71b1d7728747

Changelog

See https://github.com/jenkinsci/ansicolor-plugin/blob/master/CHANGELOG.md