Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always read plugin manifest as UTF-8 #996

Closed
wants to merge 1 commit into from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Nov 5, 2020

The manifest can contain UTF-8 data and if no LANG is set (like in minimal environments), this causes the read to fail. This forces it to read the file using UTF-8 encoding.

The manifest can contain UTF-8 data and if no LANG is set (like in
minimal environments), this causes the read to fail. This forces it to
read the file using UTF-8 encoding.
@ekohl
Copy link
Member Author

ekohl commented Nov 6, 2020

The previous build failed, but it looks like there were 2 occurrences of File.read. Trying with the other one too.

@ekohl
Copy link
Member Author

ekohl commented Nov 6, 2020

It doesn't help to fix the EL7 tests under docker :(

@ekohl ekohl closed this Sep 16, 2022
@ekohl ekohl deleted the fix-encoding branch September 16, 2022 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jenkins_plugins fact is locale-dependent which can cause a plugin installation loop
2 participants