It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

659 views 2 7
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