Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,625
Community Members
 
Community Events
168
Community Groups

Facing Problem with SCP task

Hello Everyone,

While copying the files from the BAMBOO server to a remote path, I am facing the problem.

Below mentioned is my configuration in SCP.

Source Path (Windows Server/Bamboo Server) : FolderA/FolderB/FolderC/**/*    

Target Path: FolderDestination

 

My aim is to copy all the folders and files as is present within the Folder C.

 

The above pattern works fine when I have the below-mentioned structure. 

FolderA/FolderB/FolderC/

                                       => SubFolderA/ <Followed Files>

                                       => SubFolderB/<Followed Files>

 

When the SCP task is executed it creates the above-mentioned structure as is within the 

FolderDestination.

 

But, it fails to work, with the below-mentioned structure. 

FolderA/FolderB/FolderC/

                                       => SubFolderA/ <Followed Files>

In this case, files that are present within the SubFolderA are directly copied to FolderDestination without any parent folder being created.

 

Please correct me if there is any pattern mistake in my Source Path.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

317 views 0 7
Read article

Atlassian Community Events