hiptest / hiptest-publisher

Publisher for CucumberStudio projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable color

ylacaute opened this issue · comments

When executing HipTest inside a Jenkins pipeline, special color characters are displayed, giving something like "[�[0;31;49mx�[0m]".

Most of the time, enterprises will not install plugins like "ansicolor-plugin", so it could be a good idea to add a no color option, it could be something like "--no-color" or "--batch".

I've added a PR with code that should add the --no-color option. This should be merged & released after the holidays :)

Once PR is merged, adding --no-color will probably not even be necessary as we now activate colored output only if it is a tty.