Search code examples
tfsgruntjsbuild-process

Grunt + TFS build output format


I'm using grunt in my project to run my unit test (use karma), test coverage, code analysis (tslint), ... I easily include my grunt task into my TFS build proccess template, thanks to activity 'Invoke process':

enter image description here

WriteBuildMessage only print sdtOutput msg and i got the following result :

grunt output TFS

Why output format like this : ←[31m>> ←[39m ?

Thanks.


Solution

  • These codes are ANSI escape code, however, windows terminal doesn't understand them.

    Here is a related question : How to make win32 console recognize ANSI/VT100 escape sequences?