Encoding issue in Jenkins pipeline log during Maven build inside Openshift
Issue
I update the Jenkins Maven slave to v3.10.72-3 version. During execution of a Maven build, I got some encoding problems in the console like following:
[INFO] [1m------------------------------------------------------------------------[m
[INFO] [1;32mBUILD SUCCESS[m
[INFO] [1m------------------------------------------------------------------------[m
[INFO] Total time: 02:59 min
[INFO] Finished at: 2018-12-07T07:17:00Z
[INFO] Final Memory: 19M/47M
[INFO] [1m------------------------------------------------------------------------[m
Environment
- Red Hat Openshift Container Platform (OCP)
- Jenkins Agent Maven Image v3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.