I want to upload a folder to remote server.
But the local directory structure is copied to the server.
For example,
local: target/batch
server : /home/test
result on server : /home/test/target/batch
required : /home/test/batch
I tried target/batch/**/*.*, but same thing happened.
The local path seems fine as the files inside are copied correctyl.
I used ssh task instead to resolve the problem.
Hi Moon,
Based on this document:
https://confluence.atlassian.com/display/BAMBOO/Using+the+SCP+task+in+Bamboo
the local path should be relative to the build directory/working directory of your build. For example, something your build has produced or you have checked into version control. You can find more details on this in the comments sections of the above link.
Hope this helps!
Best,
Sepideh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.