This plugin adds support for ANSI escape sequences, including color, to Console Output.
This plugin is available here and has a page on the Jenkins Wiki.
RSpec formatters detect whether RSpec is running in a terminal or not, therefore suppressing color output under Jenkins. Specify --colour
in your .rspec
file or options, along with the following setup in spec_helper.rb
.
RSpec.configure do |config|
config.tty = true
end
The ANSI Color Plugin is licensed under the MIT License.
It uses JANSI (Apache 2.0 License).
- Fork the project on Github
- Make your feature addition or bug fix, write tests, commit.
- Send me a pull request. Bonus points for topic branches.