1

I have created a localhost Freestyle Jenkins jobs which contain Postman COllection JSON File. on Running the Jenkins Build, Console Output is displaying in Special Characters which is the non-readable format. enter image description here I am using Jenkins v2.126 PFB The Snippet of Console Output

"[90m┌─────────────────────────[39m[90m┬──────────[39m[90m┬──────────�[39m
[90m│[39m                         [90m│[39m executed [90m│[39m   failed [90m│[39m
[90m├─────────────────────────[39m[90m┼──────────[39m[90m┼──────────┤[39m
[90m│[39m              [32miterations[39m [90m│[39m        1 [90m│[39m        0 [90m│[39m
[90m├──────────────────â"

Is this need some separate Plugin to Install?

Rahil Kumar
  • 426
  • 8
  • 23
  • In most my cases I've got this fixed by adding -Dfile.encoding=UTF-8 on jenkins start - see https://stackoverflow.com/questions/27960996/jenkins-console-output-characters – KSI Jun 20 '18 at 12:18

3 Answers3

2

please try this when you run jenkins war file "java -Dfile.encoding=UTF-8 -jar jenkins.war". i hope it will solve your issue.

BlueShadow
  • 49
  • 4
0

Check for --no-color flag in your command, if you can use --no-color flag in your command , then add it, it will fix this error.

Corné
  • 1,304
  • 3
  • 13
  • 32
0

In addition to setting the encoding to 'UTF-8', which you should do, you can also install the AnsiColor plugin to ensure colors are rendered in the browser appropriately. That will be better in the long term than disabling colors in every tool you use.

Brandon
  • 1,956
  • 18
  • 18