Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70660

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • durable-task-plugin
    • 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?

            Unassigned Unassigned
            ginader94 Tom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: