Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
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_.
- If the parameter command_delimiter is set then this parameter is also used for the exports which raises an error
For example
- command_delimiter: %%
- command: export test="hallo"; echo $test
- then the following command will be executed
echo $$%%export SCHEDULER_RETURN_VALUES=sos-ssh-return-values-bae1c60d-7f68-4940-b786-f94edfa836b9.txt%%export test="hallo"; echo $test
and the error
SOS-SSH-E-160: remote execution reports error: bash: Zeile 0: export: `756%%export': not a valid identifier
is raised.
Desired Behavior
- The exports must be separated with ;.
- The parameter command_delimiter doesn't affects the exports