-
Bug
-
Resolution: Unresolved
-
Minor
-
None
I'm hitting an issue where the `jenkins-result.txt` file is getting tagged as ASCII on a z/OS machine. This is causing the `StatusCheckWithEncoding(getCharset())` check at https://github.com/jenkinsci/durable-task-plugin/blob/0d250a6142908f591bda91d8658ab1b102611ce3/src/main/java/org/jenkinsci/plugins/durabletask/BourneShellScript.java#L298 to throw an Exception.
I'm able to patch the plugin by using a try/catch and trying to read the file as ASCII in the catch block. This is not exactly a blocker since I can patch my own fix but it would be nice to have this working in the base plugin.
Should I open a PR for the fix?
- is related to
-
JENKINS-72436 sh step on z/OS with encoding parameter set to UTF-8 hangs when trying to read jenkins-result.txt
- Resolved