Does Artifactory replicate buildinfo?

JFrog Support
2020-02-03 23:18

Earlier versions of Artifactory could not replicate builds. Builds were not replicated as part of the standard Repository Replication procedure.

However, it was possible to replicate the build info from one server to another by adding a user plugin. A few user plugin examples for replicating the build info can be found on our public Github repository.

As of Artifactory version 6.6.0 onward, build replication has been added to the native application as a part of the new build repository. The user plugin should not be used in these later releases.

Instead, use the REST API to create or change the replication setting for the "artifactory-build-info" repository:
 

curl -uadmin:password -v -XPUT -H"Content-type: application/json" -T replicate-builds.json http://localhost:8081/artifactory/api/replications/artifactory-build-info{        "url":"http://example.com/artifactory/artifactory-build-info",        "username":"admin",        "password":"password",        "enabled":true,        "cronExp":"0 0 /4 * * ?",        "repoKey":"artifactory-build-info"}