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

Submitted JCL no longer supports variable substitution

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: zos-connector-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.150.1 on Windows 10 1809 64-bit
      IBM z/OS Connector 2.0.1
      EnvInject API Plugin 1.5
      Environment Injector Plugin 2.1.6
    • Similar Issues:
    • Released As:
      attachment

      Description

      Prior to version 2 of the plugin, the JCL that was submitted allowed for variable substitution within the job.  We used this extensively (generating timestamps, starting/stopping configurable CICS regions, etc) in the JCL that we have and were running on a regular basis.

      I can't think of a simple way to replicate this.  The best I can think of is an intermediate step from checkout to injection where a shell or command script is run to perform the substitutions prior to the submission.  But this feels a bit awkward, and error prone.

      I'd really like to see this functionality restored, if possible.

      Happy to look into it myself, just might take a while.

        Attachments

          Activity

          strattondrs Daniel Stratton created issue -
          strattondrs Daniel Stratton made changes -
          Field Original Value New Value
          Environment Jenkins 2.150.1 on Windows 10 1809 64-bit
          IBM z/OS Connector 2.0.1
          EnvInject API Plugin 1.5
          Environment Injector Plugin 2.1.6
          candiduslynx Alexander Shcherbakov made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          candiduslynx Alexander Shcherbakov made changes -
          Attachment zos-connector.hpi [ 45757 ]
          candiduslynx Alexander Shcherbakov made changes -
          Status In Progress [ 3 ] Fixed but Unreleased [ 10203 ]
          Resolution Fixed [ 1 ]
          Released As attachment
          candiduslynx Alexander Shcherbakov made changes -
          Comment [ I've uploaded new version as attachment. I'll wait for a week before releasing if I have no feedback from you. ]
          candiduslynx Alexander Shcherbakov made changes -
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          candiduslynx Alexander Shcherbakov made changes -
          Attachment zos-connector.hpi [ 45757 ]
          candiduslynx Alexander Shcherbakov made changes -
          Attachment zos-connector.hpi [ 45758 ]
          strattondrs Daniel Stratton made changes -
          Attachment tests.7z [ 45760 ]
          candiduslynx Alexander Shcherbakov made changes -
          Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
          candiduslynx Alexander Shcherbakov made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              candiduslynx Alexander Shcherbakov
              Reporter:
              strattondrs Daniel Stratton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: