SCP based on revision

CraigT March 13, 2014

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

0 votes
shari_anderson March 13, 2014

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
TAGS
AUG Leaders

Atlassian Community Events