Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-112

Setting order parameters by shell scripts executed with SSH Jobs

    XMLWordPrintable

    Details

    • Type: Feature
    • Status: Released (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9
    • Labels:

      Description

      The JITL SSH job is improved to enable order parameters to be returned by scripts/programs executed in remote sessions.

      The desired behavior is the same as for shell jobs with the local machine, e.g. by a shell command such as:

      echo myParam=4711 >> $SCHEDULER_RETURN_VALUES

      returns the parameter myParam with the value 4711

      The SSH job provides

      • the environment variable $SCHEDULER_RETURN_VALUES that points to a temporary file
      • a configurable behavior to identify a directory for temporary files
        • check of standard locations for Unix (/tmp) and Windows (%TEMP%) if these locations exist and are writeable
        • an optional parameter to set the directory for temporary files should the default behavior not be applicable (non-Unix, non-Windows systems)
      • the capability to read parameters from the temporary file on the remote system and to hand them over to the respective local temporary file as specified by $SCHEDULER_RETURN_VALUES in order to make JobScheduler accept such return values.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sp Santiago Aucejo Petzoldt
                Reporter:
                ur Uwe Risse
                Approver:
                Uwe Risse
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: