Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
1.11.4
-
None
Description
Current Situation
- When user set the operation=remove with source_pre_commands, no pre_commands are started.
- Same pre_commands are working with operation, copy and move
- source_post_command is working as expected
How to reproduce
- See the attached YADE profile
;; Variant 01: Transfer file from localhost to remote server using SFTP [CopyLocalhost2RemoteServer] operation = remove file_spec = TRXDDLW[0-9]{4}.PDF$ ;; source_protocol = local source_host = localhost source_dir = /home/jenkins/jade_test/out source_pre_command = echo "zip ${SourceFileName}_`date +%Y%m%d%H%M`.zip ${SourceFileName}" ; zip ${SourceFileName}_`date +%Y%m%d%H%M`.zip ${SourceFileName} source_post_command = touch ${SourceFileName}.post ;; target_host = homer.sos target_user = test target_protocol = SFTP target_ssh_auth_method = password target_password = SUPER-PASSWORD target_dir = /home/test/inbound
Desired Behaviour
- YADE should start the source_pre_commands for remove operation.
Attachments
Issue Links
- Wiki Page
-
Wiki Page Loading...
There are no Sub-Tasks for this issue.