Reputation: 11
I have two Artifactory repos for maven in two distinct places and domains, but I need to synchronize it for that, when to deploy in one of theirs the other must have their information.
I don't know if Jenkins, Hudson, or TeamCity can help me in this work and how I can do it or the cloud workspace like cloudfoundry an cloudbees can help me. I was reading something like these here
Upvotes: 1
Views: 2440
Reputation: 22923
The answer is so obvious, I am a bit surprised the other authors use phrases like "some kind of synchronization" and " cluster feature for sync". Artifactory has full push/pull 2-way (optionally event-based) replication. Period. Just read the manual.
Upvotes: 2
Reputation: 60163
There are several ways to achieve this.
using cluster feature for sync method in artifactory, this will sync. all repo including your maven sites http://www.jfrog.com/confluence/display/RTF/Clustering+Artifactory, surely it depends the relation of your two artifactory
using maven command, why not use maven deploy commands to deploy two maven sites every time
create one jenkins job to sync the maven repo when one is updated
using rsync
command to sync the repos (directory) in back directly
Upvotes: 2