Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Facing Problem with SCP task

Manjunath_MR
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 16, 2020

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
AUG Leaders

Atlassian Community Events