-
Improvement
-
Resolution: Won't Fix
-
Major
-
None
Now when downloading large files for a long time at the destination may not be a complete file. This can lead to various problems.
To avoid this problem you need to load it under a temporary name and then rename the.
For example:
sftp> put bigfile.bin bigfile.bin~tmp123 sftp> rename bigfile.bin~tmp123 bigfile.bin
Now you need to do:
- Script to rename a file in the working directory;
- Upload renamed files by ssh;
- Using "Exec command" to change cuurent directory to upload directory (
JENKINS-12890) and rename files back.
This workaround looks like ugly