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,363,273
Community Members
 
Community Events
168
Community Groups

SCP Task fail. File was not uploaded

Edited

Hi All,

I'm start using Bamboo for testing purpose. File was not uploaded when I try to deploy with SCP Task. My scp task are as below: 

Host : IP_To_Deploy

Authentication Type: Username & Password

Remote Path : C:\inetpub\wwwroot\

some logs are as below:

simple	06-Jun-2018 13:18:53	Creating remote directory 'wwwroot'...
simple	06-Jun-2018 13:18:53	Creating remote directory 'wwwroot'...
simple	06-Jun-2018 13:18:53	Uploading 'C:\Users\admin\bamboo-home\xml-data\build-dir\6520833-6651906\.vscode' to 'C\inetpub\wwwroot\test2'...
error	06-Jun-2018 13:18:53	Failed to upload C\inetpub\wwwroot\test2, Remote SCP command had error: scp: 'C/inetpub/wwwroot/test2': No such file or directory
error	06-Jun-2018 13:18:53	Copy Failed. Some files were not uploaded successfully.
error	06-Jun-2018 13:18:53	'C:\Users\admin\bamboo-home\xml-data\build-dir\6520833-6651906\wwwroot\lib\bootstrap\dist\js\bootstrap.js' was not uploaded.
error	06-Jun-2018 13:18:53	'C:\Users\admin\bamboo-home\xml-data\build-dir\6520833-6651906\bin\Debug\netcoreapp2.0\test.runtimeconfig.json' was not uploaded.
error	06-Jun-2018 13:18:53	'C:\Users\admin\bamboo-home\xml-data\build-dir\6520833-6651906\Views\Shared\Error.cshtml' was not uploaded.

Could someone help me to fix it? 

Thanks

1 answer

Have the same problem. Anyone has the solution to scp into windows box?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events