I suppose that the ANSI color plugin uses ANSI codes to detect colors.
I think that this is just unsupported on windows, since the windows console
(cmd.exe -- invoked by Jenkins) is not a terminal emulator.
you could try using ansicon, according to stackoverflow. But this looks
like a solution to
I did some further digging as we had a C++ app behaving the same way:
emitting color in a standard console but the color doesn't appear in
Jenkins.
It turns out the C++ app (and presumably the C# one) is using the low level
console APIs such as WriteConsole:
https://msdn.microsoft.com/en-us/l
Right, read too quickly.
Just took the opportunity to try and crawl the now OSS'es .Net code:
https://github.com/dotnet/corefx/tree/master/src/System.Console/src/System
(disclaimer: I don't know DotNet at all)
Wild guess: seems like that ConsolePal class is wildly different for
Windows & Unix. So
He mentioned in his email that he has the ANSI color plugin installed.
On Mon, Mar 2, 2015 at 10:15 AM Baptiste Mathus wrote:
> Try the ANSI color plugin? (Supposing .Net is emitting standard codes).
> Le 2 mars 2015 17:25, "Brent Scriver" a écrit :
>
>
>> I have the ansi color plugin installed
Try the ANSI color plugin? (Supposing .Net is emitting standard codes).
Le 2 mars 2015 17:25, "Brent Scriver" a écrit :
>
> I have the ansi color plugin installed and verified it works, however .NET
> or C++ applications setting console colors and emitting text does not
> appear colored in the lo
I have the ansi color plugin installed and verified it works, however .NET
or C++ applications setting console colors and emitting text does not
appear colored in the log. Is there a configuration setting to enable it?
The .net code is pretty simple:
static void Main(string[] args)