Cyrillic symbols in the Console output are not displayed correctly.
Jenkins is running through Tomcat / 8.5.11 on Windows 7
The Jenkins property displays:
file.encoding Cp1251
sun.jnu.encoding Cp1251
sun.stderr.encoding cp866
sun.stdout.encoding cp866
How can I set the encoding on UTF-8 in Jenkins? Encoding in autotest code is UTF-8.
It is example problem in Cyrillic text
_Р?Р°Р?С?РёР?С?Р?_РёР?С?Р?С?Р?Р°С?РёРё
SOLVED:
I created file setenv.bat in bin folder and set JAVA_OPTS="-Dfile.encoding=UTF-8"
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…