When we do deploys to remote servers Bamboo seems to only be able to ant scp the WAR files which takes a very very long time. This could be done manually with rsync but defeats the purpose of using Bamboo. Is there a way or hidden plugin (I've looked) to do this using rsync or some other way of copying the files faster?
Can Maven help somehow for this? We deploy to Glassfish servers
To deploy using rsync command from bamboo to the remote server
Step 1 : Create ssh keys in local server
Step 2 : Copy the public key to the remote server
Step 3 :Goto the deployment project -> Edit environment -> Add task -> Script task
Add the following in the script body
Step 4: If the deployment is success,you will get the log as below and can validate by traversing to the corresponding path
Hi @GEETHA PRABHAKARAN thanks for the comments. The images that you attached are broken for me here. Also, I want to give you a small overview of our set up. We have Bamboo installed in-house. Our builder. We also have remote agents (sitting in clients site) which get a copy of built project (war files) from Bamboo sitting in-house and streams it to the application server. Our problem is when the remote agent gets the copy from Bamboo. It is currently an ant task using scp which is our bottleneck with ~1Gb worth of data transfer. Would your approach help us over come this problem and let us use rsync? Thank you very much in advance. :)
Is this still possible if you do not have Bamboo installed in house but running from the Atlassian website? Because I'm not aware of a way to SSH into the bamboo server so I can generate the keys. Im currently stuck on deployment with rsync because I have no way to authenticate into the remote server from running the script on the bamboo machine.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
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