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

The JITL Job sos.scheduler.job.SOSSSHJob2JSAdapter should create the correct environment variables for the given node parameters

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.9.3
    • 1.9.8, 1.10.2, 1.11
    • None

    Description

      Current Situation
      Since JITL-157 the SSH job provides JobScheduler parameters as environment variables for the script that is executed on the remote server. Order parameters are exported as well. The JobScheduler JITL job interprets order parameters in the form xxxx/paramname as a parameter param for step xxxx. While exporting environment variables to the script, the SSH job tries to set the environment variable xxxx/paramname. An error occurs and is reported to stderr.

      Desired Behaviour
      When exporting environment variables the SSH job should remove the current node from the environment variable name.

      1. check if the parameter name matches ^.\/.$
      2. if true use check whether the job is running in a job chain
      3. if true check if the current state is the state given in state/paramname
      4. if true use paramname as the parameter that will be exported scheduler_param_paramname

      Attachments

        Issue Links

          Activity

            People

              sp Santiago Aucejo Petzoldt
              ur Uwe Risse
              Uwe Risse Uwe Risse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: