Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ftp client on post processing to archive using shell executor

Hi everyone,

Im trying to execute shell script on STOP event of the pipeline to move the processed file to archive folder.

Env variables decalred: file - ${record:attribute('remoteUri')}/${record:attribute('filename')} dest - ftp://**.com/ABC/REPORTS/ARCHIVE/

Script: mv $file $dest exit 0

This is not working. Please help me to configure the shell executor.