To give an answer more complete. If you use the tomcat container to run jenkins, edit the catalina.sh configuration file:
vim apache-tomcat-path/bin/catalina.sh
Add -Dfile.encoding=UTF-8 to JAVA_OPTS var and restart tomcat to do the trick. 
mainframer
source share