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

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM