Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad formatting on jenkins CI printing #339

Open
rcwsr opened this issue Aug 19, 2016 · 1 comment
Open

Bad formatting on jenkins CI printing #339

rcwsr opened this issue Aug 19, 2016 · 1 comment

Comments

@rcwsr
Copy link

rcwsr commented Aug 19, 2016

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)

concise1

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] 
@elliotchance
Copy link
Owner

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants