I am trying to use SCP task in bamboo and it never finishes the upload. This is the log:
28-Aug-2018 15:46:40 | Starting task 'Copy version file to the server' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask' |
28-Aug-2018 15:46:40 | Connecting to cdx-devint-001 on port: 22 |
28-Aug-2018 15:46:41 | Uploading '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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.