concise
concise copied to clipboard
Bad formatting on jenkins CI printing
Hi,
I just tried out concise on a jenkins build. It is probably a configuration issue my end, but running concise --ci
on jenkins doesn't print like it does in the console.
When there are no errors, the progress isn't updated (whereas phpunit's dot printer will update the output)
When there are errors, the formatting is wrong:
[exec] [3A[K
[exec] 19. Acme\ControllerTest::testOrderDir with data set #4[K
[exec] [K
[exec] Failed asserting that 500 matches expected 200.[K
[exec] [K
[exec] [90mtests/phpunit/Acme\ControllerTest.php[K
[exec] [90m Line 154: PHPUnit_Framework_Assert::assertEquals()[K
[exec] [90m(unknown file)[K
[exec] [90m Line ?: Acme\ControllerTest->testOrderDir()[K
[exec] [90m[0m
[exec]
Thanks, that is a bug - all colours should be removed from the output when under --ci
mode.
I have only tested concise for CI against Travis which is able to translate the terminal colours into real colours in the output - hidden in plain sight you may say :)