-
Improvement
-
Resolution: Unresolved
-
Minor
We need to rename directories on a remote machine as part of a pipeline. Due to restrictions on the remote machine which only allows SFTP operations and forbids the execution of SSH commands, the rename must be done with SFTP.
Solutions with sshpass/sftp or custom groovy script have been examined and successfully tested. However we prefer to add this functionality to the ssh-steps plugin as the backing libraries of the plugin (groovy-ssh and jsch) already support the rename operation.