-
Notifications
You must be signed in to change notification settings - Fork 84
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
Disable Empty new lines before and after ANSI Color Block #255
Comments
Looks like a bug, doesn't it? I would try to reproduce in a unit test next. |
The new lines are the main part of a workaround that allows |
Is there a way to change the behavior if timestamper is not being used? I still get extra lines even if it is not used. |
The determining factor here is whether the other extension (timestamper) is installed, not if it's being used currently (there's no reliable way of checking that). |
TIL, bummer. Could a global env var or a setting configurable on the controller by admins could be a way of controlling this as a workaround? Or a coordinate fix like you suggested in #193 (comment)? Will read more about it in the several linked issues... Interested as I'd like to get this plugin running properly on infra.ci.jenkins.io with timestamps activated globally without modifying every pipelines. |
With Ansicolor 0.7.5 I don't have any newlines added when the color map is set globally. If I enable it at the job level, the extra newline shows up. Ansicolor 1.0.0 has:
Based on the description of #218, There is also e603edc (released in Ansicolor 0.7.3) which apparently cause a newline to be added when there is a decorator |
@tszmytka was the way timestamper works ever fixed? I recall you mentioning that the root problem was indeed how timestamper uses the log. |
What feature do you want to see added?
When I use the ansi color plugin I get an empty log line before and after EVERY ANSI color block in the log.
Is there a way to disable this?
The json block is one ansi color block.
The 4 individual lines are each an ansi color block
Notice all the new lines
Below is the same log section with color disabled:
Upstream changes
No response
The text was updated successfully, but these errors were encountered: