jenkins 控制台中文乱码问题

来源:互联网 发布:黑暗圣经知乎 编辑:程序博客网 时间:2024/06/08 00:58

Your container doesn't use UTF-8 to decode URLs. If you use non-ASCII characters as a job name etc, this will cause problems. See Containers and Tomcat i18n for more details.

Jenkins建议在tomcat中使用utf-8编码,配置tomcatconf目录的server.xml文件

 

图4 URIEncoding编码设置

Ps:如果Job的控制台中文输出乱码,请将URIEncoding=”utf-8”更改为useBodyEncodingForURI="true"

0 0