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

Substitution of special parameters does not work

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.12.6
    • 1.12.7
    • None

    Description

      Current Situation

      When a parameter has the value test ${SCHEDULER_ORDER_ID} or another special parameter from the list documented here the parameter will not be substituted. The reason is that due to performance issues the pre setting of these parameters has been deactivated.

      Desired Behavior

      To enable the special parameters a preprocessing monitor should be provided that can be added to jobs that want to replace the special parameters.
      The name of monitor Java class is com.sos.jitl.parameters.SetSpecialParamters. The class implements the spooler_process.before() method.

      Example:

      <job  stop_on_error="no" order="yes">
          <params />
      
          <script  language="shell">
              <![CDATA[
      echo hello world %scheduler_param_SCHEDULER_NODE_NAME%
              ]]>
          </script>
      
          <monitor  name="process0" ordering="0">
              <script  language="java" java_class_path="" java_class="com.sos.jitl.parameters.SetSpecialParameters"/>
          </monitor>
          <run_time />
      </job>
      

      Note

      This error have been introduced with YADE-522

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: