詹金斯:控制台输出字符 [英] Jenkins: console output characters

查看:29
本文介绍了詹金斯:控制台输出字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何在 Jenkins 控制台输出日志中击败这样的字符?

Does anyone know how to beat such chars in Jenkins console output log?

UTF-8 好像有问题.

Seems there is a problem with UTF-8.

推荐答案

这里的问题是字符没有以 UTF-8 格式输出到您的控制台.我认为解决方案是在调用 jenkins 以将输出编写为 UTF-8 时告诉它.有关类似问题,请参阅此解决方案 UTF-8 字符编码在控制台 (Linux) 上不起作用

The issue here is that the characters are not being output as UTF-8 to your console. I think the solution is to tell jenkins when you invoke it to write output as UTF-8. See this solution for a similar problem UTF-8 char encoding does not work on console (Linux)

有点像java -Dfile.encoding=UTF-8 jenkins.war 可以解决问题

这篇关于詹金斯:控制台输出字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆