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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,556,438
Community Members
 
Community Events
184
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
AUG Leaders

Atlassian Community Events