-
Notifications
You must be signed in to change notification settings - Fork 907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0: Copy file doesn't rename the file #646
Comments
Hi Mat, It looks like you are using the script-copy plugin. I think the script-copy file copier plugin doesn't support renaming the file yet... that is a bug. |
* script-copy attribute must be modified to include ${file-copy.destination}
script-copy plugin should warn or fail if |
documentation needs re-merge |
Hi, just tried new version 2.0.1 but there is still a problem, files are renamed but not moved to destination folder now files are copied to dispatch folder (/var/tmp) instead of the right folder (here: /HOME/teamxiso/v5.6/Linux/kit/) but are well renamed to the file name What i've found in /var/tmp with 2.0.1 -rw-rw-r-- 1 teamxiso grp_xiso 32080897 Feb 17 16:08 DUS560.taz What i've found in /var/tmp with 2.0.0 Debug Trace: 16:13:47 usocjvr03 4. mkdir Rep de dépot des fichiers [workflow] beginExecuteNodeStep(usocjvr03): NodeDispatch: com.dtolabs.rundeck.execution.ExecutionItemFactory$4@3cd16263 |
Hi, what is your project configuration for the "Script Execution" file copy plugin? notice this line:
Your "/usr/bin/scp" is copying to you need to change your configuration to include |
many thanks, just changer my Default File Copier to many thanks !!! |
Hi,
I just tried the new file copy en rundeck 2.0.0, the file is dispatched by ssh to the server in the remote file path (/var/tmp) but isn't moved to the folder i ask for:
i ask for a copy of /home/rundeck/scripts/XISO_Upgrade.ksh -> /HOME/teamxiso/XISO_Upgrade.ksh
i found the file /var/tmp/dispatch2779041810538993679.tmp but not the target
a trace in debug mode
may be i do a wrong thing?
Thanks for your help
Mat
The text was updated successfully, but these errors were encountered: