I've got an SCP task set up to copy some files from the Bamboo build server to another server machine. I can connect to the destination server, using any type of SFTP program (WINSCP) and manually xfer a file, but when I do it via Bamboo in a plan, via the SCP Task, it doesn't xfer the file. It also does not give me any errors. The build completes successfully and the task starts and ends within a second or 2 of it starting, but no files are copied. I can't seem to find out why this is happening. Any ideas/help please?
Hi Eddie, Thanks for your response.
I'm using the full path in the local path section.
and the file is there in the above directory.
Method for authentication is password. This is also correct otherwise it would have given me a connection error.
I have also tried C:\inetpub\wwwroot\*.txt - no difference
The remote path is:
But I have tried \wwwroot\ , \wwwroot/ , /wwwroot , \wwwroot , etc to no avail.
What OS is the remote machine? What OS is the bamboo agent running on?
It is very unlikely that a windows (assuming IIS based on folder name) machine has root folder /wwwroot. It is likely this folder is under c:/Inetpub/wwwroot on both machines.
Both are Windows Server 2008 R2
The /wwwroot is the virtual name which is putting to the physical path of c:\inetpub\wwwroot on the remote machine.
Also, if I use a SFTP program, such as WinSCP, I can manually xfer the file to the /wwwroot folder (virtual name) with no issues. It's only via the bamboo SCP task that it does not copy across???
Thanks for your suggestions though.
What is your version of Bamboo? and what version of "Bamboo SCP and SSH Tasks" plugin are you using? (You can check this by navigating to Bamboo Administration - > Manage Add-ons - > Show System Add-ons).
If you are not running Bamboo 5.3 and it's possible for you to upgrade your Bamboo instance to the latest version, please upgrade and check if the problem persists.
We experienced issues with the SCP task plugin in previous versions that are resolved now. If you continue to experience the same problem or if upgrade is not an option for you please open a support ticket at https://support.atlassian.com.
I am using the latest version of Bamboo already (5.3) and for the SCP plugin, i am using 5.0.8. http://prntscr.com/2n6nc7My build runs as successfully but no files are transfering http://prntscr.com/2n6zis
I do have my instance of Bamboo on a Windows server and I am deploying to my linux server. but that should be a problem
Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs