When I try to deploy an artifact via Bamboo using the SCP task, I get this error message:
Failed to upload file 'C:\Bamboo-Home\xml-data\build-dir\6520833-16678913\xxxx xxxx - xxxx xxx xxx.msi'
"net.schmizz.sshj.xfer.scp.SCPRemoteException: Remote SCP command had error: scp: 'C:/Installation/Trunk/': Protocol not available"
FYI: The file name a spaces.
I remote in to the bamboo machine and i execute the scp command via windows command prompt, the files was copied.
Command line:
"scp "C:\Bamboo-Home\xml-data\build-dir\6520833-16678913\xxxx xxxx - xxxx xxx xxx.msi" user1@computer:/installation/Trunk"
As it mentions about the missing protocol, shouldn't you add the "file://" protocol to make it happy?
I tried adding "file://" it still did not work.
Please click on the link to see image of the task configuration.
All my computer are Windows OS.
Like I said I'm able to transfer a file from Bamboo computer to the host computer using the SCP command in a window command prompt.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried adding "file://" it still did not work.
Please click on the link to see image of the task configuration.
All my computer are Windows OS.
Like I said I'm able to transfer a file from Bamboo computer to the host computer using the SCP command in a window command prompt.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.