-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Enable console colours under Azure Pipelines #150
Comments
Hi @blairconrad! Unfortunately I suspect there is little that can be done about this. Either a console supports ANSI colouring or it doesn't. You may find that the best course of action is to switch off colouring with the Out of interest, can you try re-running it with the |
Ah, thanks, @adamralph. I should've thought about the need for ANSI support. I built with
Seems the handle is invalid. Not that surprising, I suppose. There is a defunct UserVoice request for this feature. I can take a peek and see where we request these features now. |
Ah. There's an existing issue. Took some searching. microsoft/azure-pipelines-agent#1569 |
Yeah, I don't think this works on build servers at all. I was more just curious to see the logs. It fails on Appveyor too but Appveyor respects the ANSI codes, so it's fine. I guess you just need to wait for that issue to be fixed, and perhaps consider the |
Perhaps this could go into an FAQ. |
Yeah, I'll probably turn on Thanks for your time! |
Closing in favour of microsoft/azure-pipelines-agent#1569. |
@blairconrad now that microsoft/azure-pipelines-agent#1569 has been released, it would be interested to see how your build looks. |
But I've been logged out for over 5 minutes! How will I know? |
It is more better! Not quite what I expected, but tonnes more readable. I am a content person. https://dev.azure.com/blairconrad/SendComics/_build/results?buildId=14 Thanks! |
Definitely an improvement. If I'm not too lazy, I may introduce an optimised palette for Azure Piplines. |
Like the one you can see at https://dev.azure.com/blairconrad/blair%20bullseye/_build/results?buildId=18? (Ignore the bonus environment variables at the top.) PR coming soon! Would you want me to add a |
Whoops. I meant to start a PR to my own repo and sent it to yours. #199. Carrying on! |
Where is this setting to turn off coloring (i.e. --no-color option)? |
@tlian if you follow the quick start you will see it when you run
You can specify it like so:
or
|
Under Bullseye 2.2.0, on Azure pipelines, the build output is not coloured, instead displaying the ANSI escape codes:
(from https://dev.azure.com/blairconrad/SendComics/_build/results?buildId=9&view=logs)
I'd offer to help, but I am not sure where to start!
The text was updated successfully, but these errors were encountered: