If rsync is available on the build machine and on the destination web server, and if you have ssh access to the destination web server, then you could add a last build step to use the rsync command to copy changed files from the build machine to the destination web server.
This blog posting may help: http://www.benripley.com/development/linux/publish-through-ssh-with-rsync/ Mark Waite On Thu, Jul 10, 2014 at 5:44 AM, David Fox <[email protected]> wrote: > My current "build" (all static html/css/js) is working as expected, but > it's publishing *every file* over FTP *every time* a build triggers. I'm > using a git repo (BitBucket) to hook the build notification, but how can I > implement an incremental build i.e. only publish files that have changed > since the last build? I'd like to include deletes, if possible. > > I can publish over FTP or SSH, if that helps. Is there some way to use > rsync to accomplish this? I've found a couple posts about Maven plugins, > but it doesn't sound like that suits my problem, as they're for Java builds > of some kind? Is there a Jenkins plug-in I'm not finding? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Thanks! Mark Waite -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
