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

Add support of z/OS USS to sh step

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • durable-task-plugin
    • None
    • durable-task-1.10
    • durable-task 1.29

    Description

      We are going to use the pipeline plugin with build nodes running under z/OS Unix System Services (USS). Unfortunately, the sh step does not work out of the box on that platform because (text) files are encoded by default in IBM1047 (some EBCDIC variant) but the implementation within the durable-task-plugin seems to assume implicitly that the shell input and output is in UTF-8 or ASCII based.

      First experiments on top of durable-task-1.10 adding character set conversion in BourneShellScript and FileMonitoringTask to any read/write of files script.sh, pid, jenkins-result.txt and jenkins-log.txt were promising.

      Update : - the Script.sh file is untagged in z/OS USS , if its tagged as ASCII the script can be executed in z/OS USS. when the script is pushed it need to be tagged as ASCII.

      Attachments

        Issue Links

          Activity

            lne Lutz Neugebauer created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Remote Link This issue links to "PR 28 (Web Link)" [ 15196 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ] Lutz Neugebauer [ lne ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            mz7p Ramchand Venkatasamy made changes -
            Assignee Lutz Neugebauer [ lne ]
            Priority Minor [ 4 ] Major [ 3 ]
            mz7p Ramchand Venkatasamy made changes -
            Rank Ranked higher
            mz7p Ramchand Venkatasamy made changes -
            Description We are going to use the pipeline plugin with build nodes running under z/OS Unix System Services (USS). Unfortunately, the sh step does not work out of the box on that platform because (text) files are encoded by default in IBM1047 (some EBCDIC variant) but the implementation within the durable-task-plugin seems to assume implicitly that the shell input and output is in UTF-8 or ASCII based.

            First experiments on top of durable-task-1.10 adding character set conversion in BourneShellScript and FileMonitoringTask to any read/write of files script.sh, pid, jenkins-result.txt and jenkins-log.txt were promising.
            We are going to use the pipeline plugin with build nodes running under z/OS Unix System Services (USS). Unfortunately, the sh step does not work out of the box on that platform because (text) files are encoded by default in IBM1047 (some EBCDIC variant) but the implementation within the durable-task-plugin seems to assume implicitly that the shell input and output is in UTF-8 or ASCII based.

            First experiments on top of durable-task-1.10 adding character set conversion in BourneShellScript and FileMonitoringTask to any read/write of files script.sh, pid, jenkins-result.txt and jenkins-log.txt were promising.


            Update : - the Script.sh file is untagged in z/OS USS , if its tagged as ASCII the script can be executed in z/OS USS. when the script is pushed it need to be tagged as ASCII.
            kepler2 Bruce Griffith made changes -
            Remote Link This issue links to "PR 80 (Web Link)" [ 22112 ]
            dnusbaum Devin Nusbaum made changes -
            Status In Review [ 10005 ] In Progress [ 3 ]
            dnusbaum Devin Nusbaum made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Fixed but Unreleased [ 10203 ]
            dnusbaum Devin Nusbaum made changes -
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            dnusbaum Devin Nusbaum made changes -
            Released As durable-task 1.29
            johnanu Anu George made changes -
            Attachment image-2019-05-08-09-49-55-527.png [ 46990 ]

            People

              Unassigned Unassigned
              lne Lutz Neugebauer
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: