Status: Open (View Workflow)
Jenkins 1.594, Hudson SCP pulisher plugin: v1.8
I don't see the equivalent of the "-r" option to recursively copy a directory over scp/sftp. This would be extremely useful to me, and is almost a blocker. Thanks.
- is duplicated by
JENKINS-26215 Add option to recursively copy a tree, as per "scp -r".
Having previously read the plugin documentation multiple times, far as I could tell in the plugin documentation, using the ant-style selection did not replicate hierarchies, but flattened them. I not only want to read a tree of files in, but want that tree, with sub-directories and all, replicated to the target, as per "scp -r". Does the ant-style selection do this?
Previous comments by: Jul 21, 2009, Dan Morrow and Aug 12, 2010, Andrei Pozolotin have gone unanswered.
The comment in the documentation " You can use ant includes syntax, eg. folder/dist/*.jar. " does not clearly imply that directory hierarchies will be replicated, and the previous comments imply I am correct.
actually you can use ant style selection for files like it is described in plugin documentation. In that case multiple files will be copied. check https://wiki.jenkins-ci.org/display/JENKINS/SCP+plugin