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?