SCP Task fail. File was not uploaded

Nay Myo Zaw
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!
June 6, 2018

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

0 votes
Anthony Yeong August 29, 2019

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events