Issue reading ASCII jenkins-result.txt file on z/OS machine

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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?

            Assignee:
            Unassigned
            Reporter:
            Tom
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: