且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Jenkins:控制台输出字符

更新时间:2023-12-05 13:20:52

此处的问题是字符没有作为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