We're running Bamboo 5.6.2.
Using the SCP Task
local path solr/conf/*
remote path /usr/local/solr/conf
When the local path only contains files, such as schema.xml, solr.xml, then those files are copied into the remote path.
For example
/usr/local/solr/conf/schema.xml
/usr/local/solr/conf/solr.xml
But if the local path also contains a subdirectory, such as velocity/config.xml, then then entire local path is copied to the remote path
For example
/usr/local/solr/conf/solr/conf/schema.xml
/usr/local/solr/conf/solr/conf/solr.xml
/usr/local/solr/conf/solr/conf/velocity/config.xml
Not what I expected or want.
Is there any way to not include the local path when copying to the remote path?
I just moved to using command and if the copy task is to complex I write a bash script for it ;)
I have the same problem with copying files from an artifact: https://answers.atlassian.com/questions/25137120
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem and I can't find any solution. How did you manage that? Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The job consists of two tasks, Source Code Checkout (git) and SCP. SCP is copying files from the Source Code Checkout task, so the files come from the build. Strictly speaking, I thought artifacts came from other stages, so maybe they aren't artifacts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you copying artifacts from a particular build or files that are located in a specific directory in your build server?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.