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.
When exporting environment variables the SSH job should remove the current node from the environment variable name.
- check if the parameter name matches ^.\/.$
- if true use check whether the job is running in a job chain
- if true check if the current state is the state given in state/paramname
- if true use paramname as the parameter that will be exported scheduler_param_paramname