jenkins garbled in docker centos container

Asked 2 years ago, Updated 2 years ago, 109 views

We are building CI/CD environment with Docker container.
Shell running in a slave environment based on jenkins to centos7.

If you check the execution results, the Japanese part will be garbled.
Since the centos7 in the docker official image does not seem to contain ja_JP.UTF8, we started the centos container and ran localedef-f UTF-8-ija_JPja_JP.UTF-8 in the container.

On the jenkins side, LANG=ja_JP.UTF8 is set in the environment variable of the target node from "Jenkins Management > Node Management > Settings".
However, the characterization of the Japanese part has not been resolved.
What kind of settings should I make to eliminate garbled characters?

I would appreciate your help.Thank you for your cooperation.

centos docker jenkins garbled-characters

2022-09-30 21:44

1 Answers

I resolved myself by referring to the site below.

When Jenkins SSH Slave Is garbled

Open Advanced Settings from jenkins Administration > Node Administration > Node Settings to view the settings.

This post was posted as a community wiki based on @teachi15's comments.


2022-09-30 21:44

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.