Not really a Jenkins question at first IMO.

Yeah, rsync would work I guess.
But IIUC your needs then what you want to use is a configuration management
tool to configure and deploy you app where it has to be: Ansible, Puppet,
Chef, you name it.

Jenkins could in that case responsible for handling the global lifecycle of
all that. For example: at commit, run unit tests, deploy to UAT environment
(via Ansible), etc.

HTH
Le 4 déc. 2015 1:02 PM, "Fabricio De Marchi" <[email protected]> a
écrit :

> Hi All,
>
> Considering a simple scenario:
> A PHP project in SVN, checkout and deploy it to several App servers
> running Apache (everything under Linux).
>
> Considering that with SVN you can remove/delete sources in some
> situations, what would be a best practice to ensure the build/deploy
> process would synchronize the sources (new files, updates and deletes in
> SVN are applied to the servers)?
>
> My initial thoughts:
> 1. Installing SVN client in the servers would NOT be the best option in my
> opinion. Servers should only contain what is necessary for your app to run
> in order to minimize security risks
> 2. Use RSYNC
> 3. Maybe have a symbolic link pointing to the app path in each server so a
> SVN checkout would take care of that "sync"
>
> There might be some plugin that takes care of that but I am not aware of
> it.
>
> Eventually other aspects as unit test, security and other items will be
> added to the build/deploy process but for now the situation above is my
> main focus.
>
> Thanks,
> Fabricio
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/fcdff0a7-ae09-421e-a523-c1cf1243b14e%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/fcdff0a7-ae09-421e-a523-c1cf1243b14e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4MdLzSADPbzxj_-4FoHsWDkDT62Wug7LRjajvq%3DTqS8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to