Missed Team ’24? Catch up on announcements here.

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

Bamboo SCP Task got stuck in uploading

renatogbp August 28, 2018

I am trying to use SCP task in bamboo and it never finishes the upload. This is the log:

28-Aug-2018 15:46:40Starting task 'Copy version file to the server' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask'
28-Aug-2018 15:46:40Connecting to cdx-devint-001 on port: 22
28-Aug-2018 15:46:41Uploading 'C:\builds\15597571-15761411\pasvers.h' to '\c\WebHost\deployments-devint\client'...

I am using shared credentials, and uploading an artifact. I've tried the remote path as:

C:\WebHost\deployments-${bamboo.deploy.environment}\client\

/WebHost/deployments-${bamboo.deploy.environment}/client/

\WebHost\deployments-${bamboo.deploy.environment}\client\

/c/WebHost/deployments-devint/client

and got the same result. Any idea about what's happening here?

Edit:

I did a test, and tried to change the remote path to "pasvers.h", and realized that it created a file name as 'pasvers.h' with single quotes. Maybe that's why is never uploads? It's trying to find the path 'C:\WebHost\deployments-${bamboo.deploy.environment}\client\' with single quotes? How to avoid that?

1 answer

1 vote
Gabriel Ribeiro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 4, 2018

Hi Renato,

You might be experiencing something similar to the situation described at the below ticket:

Could you please try using Cygwin or MobaSSH as suggested and let us know the results?

thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events