I am working on a grails app and need regularly to deploy hot fixes to a remote server. I am using jenkins with grails plugin for automation.
My point is the following:
Most of the time i fix a few classes, with no big changes in the app (such as new database schema, new plugins….). However each time i create a patch i have to upload trough ssh a 75M war file, which takes between 15 to 20 min. Most of the data is not needed (ie all the packaged jars). What would be sufficient is to upload only the fresh compiled classes from WEB-INF/classes/ and reload the servlet container (in my case jetty).
Anybody experienced with this, preferably with jenkins?
I remember seeing this subject on the mailing list…
http://grails.1312388.n4.nabble.com/Incremental-Deployment-td3066617.html
…they recommend using rsync or xdelta3 to only transfer updated files. Haven’t tried it, but it might help you?