ANSI supported in on premise?

Chris Gårdenberg's Avatar

Chris Gårdenberg

11 Jan, 2021 07:52 AM

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. Support Staff 1 Posted by Feodor Fitsner on 11 Jan, 2021 05:40 PM

    Feodor Fitsner's Avatar

    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. 2 Posted by Chris Gårdenber... on 12 Jan, 2021 07:12 AM

    Chris Gårdenberg's Avatar

    That indeed fixed it! Thanks a lot! :)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

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

18 Oct, 2021 12:38 PM
16 Oct, 2021 04:34 PM
15 Oct, 2021 08:29 PM
15 Oct, 2021 06:34 PM
13 Oct, 2021 03:47 PM

 

13 Oct, 2021 06:27 AM
13 Oct, 2021 05:54 AM
12 Oct, 2021 06:48 PM
12 Oct, 2021 06:47 PM
12 Oct, 2021 12:36 PM
11 Oct, 2021 10:05 AM