-
Notifications
You must be signed in to change notification settings - Fork 356
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
ANSI color support #30
Comments
My idea is to check for the |
FYI: TeamCity does support ANSI colors, but doesn't set the |
Running stuff in docker could also pose an issue. The container may set |
You are right, do you have any idea how get the information reliable? |
It's probably one long series of guesses that is necessary to get this information. Nuke already detects certain CI systems / containers - it detected Gitlab for us. This should f.ex. use ANSI colours because Gitlab CI will render it with colours. If the invoking script is powershell, Nuke should use whatever powershell supports. Running in containers, I don't think it is possible to figure out what the scheme should be - since any number of clients may follow along - but it is at least possible to provide a command switch to override any colour scheme. E.g. In other news, Gitlab (and others) also support a form of "block" or timing capability for logs. https://gitlab.com/gitlab-org/gitlab-ce/issues/14664#note_56006266 If one writes out the following, and end-marker is made at this unix timestamp: |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Some console hosts and build servers support ANSI color output. One thing to consider is when to enable them. On Windows systems, ANSI colors usually don't work, whereas UNIX terminals support them.
The text was updated successfully, but these errors were encountered: