Encoding issue in Jenkins pipeline log during Maven Build

Solution Verified - Updated -

Issue

  • I update the Jenkins Maven slave to the latest version (registry.access.redhat.com/openshift3/jenkins-agent-maven-35-rhel7:v3.10.72-3)
    During execution of an 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

  • Jenkins Agent Maven v3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content