SCP based on revision

My appologies if this has been asked already. Is it possible to setup a deployment task such that, it's not the entire artifact that is being SCP'd to a remote server, but rather just the files between effected since the previous deploy?

Beanstalk has a nice deploy feature such that they drop a .revision file into the location where you deploy. That file contains the sha of the last revision which was deployed. When a new deploy occures, the .revision is checked against what is going to be deployed, and only the files which are different between the two revisions are sent. Any deleted files are also removed from the target server.

Does bamboo have similar ability? Or is it necessary for all files to be deployed each time, regardless of whether they are actually different from what's already been deployed?

1 answer

What we do is tag the deployable artifacts each time then figure out what's changed. Then we only deploy those files.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

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...

1,321 views 0 5
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you