Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.13.3
Description
Current Situation
When the SSH Job uses a command_script parameter or adds a script in the script part of the Job configuration a temporary script file is created on the remote side. After the script file has run, the temporary script file should be deleted. The SSH Job still tries to delete the file via SFTP.
Because of issues JITL-558 and JITL-572 no SFTP channel will be opened by default, which results in an exception caused by "java.io.IOException: Pipe closed". The temporary files are not deleted.
Desired Behavior
The SSH Job should cleanup temporary script files on the remote side without using SFTP.
Maintainer Note
A patch is provided for JobScheduler 1.13.3:
- For JobScheduler Master download the patch from the link below and copy the jar file to [SCHEDULER_HOME]/lib/patches directory.
- If the SSH Job runs on a JobScheduler Agent then copy the patch to the [SCHEDULER_HOME]/lib/patches folder of the Agent.