ANSI supported in on premise?

Hi,

Recently we started using Nuke.Build to handle build scripts with our on-prem server, but for some reasons all ANSI-codes seems to be escaped, not sure if it's due to some formatting error from Nuke.Build or something else.

Example output:

═════════════════════════════════════════════════
?[36;1mTarget                       Status      Duration?[0m
─────────────────────────────────────────────────
?[32;1mPreBuild                     Executed        0:01?[0m
?[32;1mStartYarnTasks               Executed      < 1sec?[0m
?[32;1mRestore                      Executed        2:12?[0m
?[32;1mReplaceBuildTimeConstants    Executed      < 1sec?[0m
?[32;1mCompileMsBuild               Executed        2:09?[0m
?[32;1mDotNetTests                  Executed        3:44?[0m
?[32;1mCompileCoreProjects          Executed        2:54?[0m
?[32;1mPushPhrase                   Executed        0:51?[0m
?[32;1mYarnTests                    Executed        0:27?[0m
?[32;1mCopyYarnOutput               Executed        0:01?[0m
?[32;1mPushToCDN                    Executed        0:10?[0m
?[32;1mPushCoreProjects             Executed        0:30?[0m
?[32;1mCopyWeirdMissingDlls         Executed      < 1sec?[0m
?[32;1mWebconfigTransforms          Executed        0:01?[0m
?[32;1mPushMsBuild                  Executed        2:26?[0m
?[32;1mTagAppveyorArtifacts         Executed        0:01?[0m
?[32;1mPublishDocker    ��           Executed        6:06?[0m

The ? in front of all ANSI-codes makes me think that it's some kind of encoding problem.

  1. I'm not sure why ESC symbol is not translated, but you can just disable PTY emulation in your builds by defining APPVEYOR_CONSOLE_DISABLE_PTY: true environment variable. Hope that helps.

  2. That indeed fixed it! Thanks a lot! :)

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Attach files

Up to 10MB each.

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions