Can Artifactory Replicate Buildinfo

JFrog Support
2023-01-22 11:08

Relevant Versions: This information pertains to Artifactory versions 6.6 and above.

Earlier versions of Artifactory were not able to replicate builds. Builds could not be replicated using Repository Replication because the buildinfo.json files were not considered artifacts yet. However, it was possible to replicate the build-info from one server to another by adding a user plugin. Several user plugins available for replicating build-info can be found on JFrog’s public Github repository. This plugin is now deprecated for versions 6.6 and above.

Since Artifactory 6.6, such user plugins no longer need to be used because build replication has been added to the native application as a part of the new build-info repository. Now, you can use the REST API to create or change the replication configuration 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

        "cronExp":"0 0 /4 * * ?",