Configure Repository Replication
A 3-step recipe with JFrog Artifactory. We can help you get access.
Recipe · 3 steps
Configure Repository Replication
with JFrog Artifactory
Create a repository and configure scheduled replication, then verify it.
- Create the local repository that will be the replication source.
- Configure scheduled push replication from the local repository to the target URL.
- Read the replication configuration back to confirm the schedule and target were saved.
What you'll need to have ready
- accessToken: Bearer access token for authenticating with Artifactory.
- repoKey: The local repository key to create and replicate.
- packageType: The package type for the repository (e.g. maven, npm, generic).
- replicationUrl: The target Artifactory repository URL to replicate to.
- replicationUsername: Username for authenticating against the replication target.
- replicationPassword: Password for authenticating against the replication target.
- cronExp: Cron expression controlling the replication schedule.
For your developer
Arazzo workflow artifactory:configure-repository-replication, 3 operations: createOrReplaceRepository → createOrReplaceReplication → getReplicationConfig. Specs on APIs.io.