Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
Linux
Description
Current Situation
- The SSh job exports environment variables of the JobScheduler to the remote script depending on the parameter create_environment_variables = true.
- These environment variables are prefixed with SCHEDULER_MASTER_.
- Sometimes the export generates a % in the variable name which raises an error
- For example the environment contains
BASH_FUNC_mc()=() { . /usr/share/mc/bin/mc-wrapper.sh }'
then the error
ERROR [main] (SOSSSHJob2.java:169) - SOS-SSH-E-160: remote execution reports error: bash: line 1: export: `SCHEDULER_MASTER_BASH_FUNC_MC%%=() { . /usr/share/mc/bin/mc-wrapper.sh }': not a valid identifier
is raised.
Attachments
Issue Links
- will be updated by
-
JITL-309 Resumption: SSH job should not raise an error when exporting environment variables in the remote script
- Released