I would like to know the format of the destination path name to be filled in Remote Path field in SCP Task for a file transfer from Windows Bamboo Agent Machine to Windows Remote Machine. There seems to be no documentation or tutorial or QA forum that clarifies this.
Bamboo Version: Bamboo Server 6.8
I am trying to move files and folders from my Bamboo Windows Agent machine's Working directory to a Windows Remote Server using the SCP Task. I am getting following error.
E:\DevOpsDir is the full path of the directory in the Windows Remote machine. I have verified that this is a valid path in that remote machine.
This value is entered in the field Remote Path in the SCP Task configuration page.
simple 21-Apr-2020 17:06:34 Uploading 'C:\Users\UserName\bamboo-agent-home\xml-data\build-dir\BambooJOB1\RepoName' to 'E:\DevOpsDir'...
error 21-Apr-2020 17:06:34 Failed to upload E:\DevOpsDir, Remote SCP command had error: scp: 'E:/DevOpsSLBDir': Invalid argument
error 21-Apr-2020 17:06:34 Copy Failed. Some files were not uploaded successfully.
I have tried other options as well in the Remote Path field. All leading to errors mentioned below.
1. Remote Path = /DevOpsDir ( I created a path at C:\Users\UserName\DevOpsDir at windows remote machine).
Error Message: "Path does not exist."
2. Remote Path = UserName@IPAddress:E:\DevOpsDir
Error Message: "Invalid argument"
I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events