Jenkins:控制台输出字符 [英] Jenkins: console output characters
本文介绍了Jenkins:控制台输出字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人知道如何在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
可能会成功
Something like
java -Dfile.encoding=UTF-8 jenkins.war
might do the trick
这篇关于Jenkins:控制台输出字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文