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,295,002
Community Members
 
Community Events
165
Community Groups

Bamboo SCP task failing with "scp: Failed to open file '/*.*'"

Bamboo server v. 6.7.2 build 60706 running on a Windows 7 Pro machine

I've got a plan that checks out a simple README.txt file from git (which works flawlessly).

All I want to do is then copy that file into a folder on a server.  Simple.

Target server is a Windows Server 2012 R2

 

I have installed SolarWinds SCP server on that box, and I can have verified that I can use the following putty command to list the directory contents on the target from the bamboo server

pscp -l [user] -pw [password]-sftp -ls vdcwwebsrvstg01:/

Note that if I force pscp to use scp, I get the following error:

 

The Bamboo SCP task however consistently fails with the following error when trying to upload README.txt

"scp: Failed to open file '/*.*'"

This happens regardless of how I set the remote path (which I believe should be set to "/*.*"

I've attached the config for the Bamboo SCP task

Can anyone give me any guidance.

 

Note: The target server is running SolarWinds SFTP/SCP v1.0.4.9 server, with the default configuration.

putty_results.pngscptaskconfig.png

1 answer

0 votes
Foong Atlassian Team Mar 04, 2019

For Remote Path, there is no need to add "*.*" at the end. Try using "/" only.

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

940 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you