• 请不要在回答技术问题时复制粘贴 AI 生成的内容
soulomoon
V2EX  ›  程序员

gitlab 自带的持续集成工具中文乱码的问题

  •  
  •   soulomoon · Apr 30, 2017 · 6549 views
    This topic created in 3500 days ago, the information mentioned may be changed or developed.

    有人知道 gitlab 自带的 ci 的如何显示出中文字符嘛?,目前用来持续集成 dotnet 的网站,但是服务器是中文的,出现错误信息的时候 gitlab 上显示的 terminal 错误输出历史编程了??问号了

    1 replies  •  2017-05-12 14:20:23 +08:00
    soulomoon
    soulomoon
    OP
    May 12, 2017
    1
    问题已经解决, 通过在.gitlab-ci.yml MSBuild 前面
    添加一条 shell commmand:
    chcp 850
    MSbuild 会输出英文
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1893 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 08:04 · PVG 16:04 · LAX 00:04 · JFK 03:04
    ♥ Do have faith in what you're doing.