You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using your ssh plugin since quite a while and I really like it.
But with Gradle 5.1 I see a problem, when using the get from copy task to retrieve a whole directory structure from the remote host.
All files and directories are copied, but the directory structure is lost, so all files are copied to the top level of the target directory and all the subdirectories from the remote host are copied here too, but they are empty.
More information below.
Please note that using the same build with Gradle 4.10.2 does not lead to the described problem.
Can you have a look and provide a fix for the problem?
Create a simple build file, containing the snippets shown below, including the doCopy task.
When using the doCopy task the contents of the remote folder should be copied to the build directory on the local host, including the directory hierarchy. But the hierarchy is lost. The build directory contains just all files and empty directories from the target host.
Hi,
I am using your ssh plugin since quite a while and I really like it.
But with Gradle 5.1 I see a problem, when using the
get from
copy task to retrieve a whole directory structure from the remote host.All files and directories are copied, but the directory structure is lost, so all files are copied to the top level of the target directory and all the subdirectories from the remote host are copied here too, but they are empty.
More information below.
Please note that using the same build with Gradle 4.10.2 does not lead to the described problem.
Can you have a look and provide a fix for the problem?
Environment info
gradle-ssh-plugin-2.9.0 (groovy-ssh-2.9.0, jsch-0.1.53, groovy-2.5.4, java-1.8.0_191)
Steps to reproduce
Create a simple build file, containing the snippets shown below, including the
doCopy
task.When using the
doCopy
task the contents of the remote folder should be copied to the build directory on the local host, including the directory hierarchy. But the hierarchy is lost. The build directory contains just all files and empty directories from the target host.The text was updated successfully, but these errors were encountered: