Deploy Artifacts to a Federated Repository
Upload artifacts through the UI or build tools and understand how deployments synchronize to other Federation members.
Deploy artifacts using the UI or your build tools. Deployments are stored locally and then synchronized to other Federation members.
Before You Begin
- You have DEPLOY permission.
- You know the repository key.
Deploy from the UI
To deploy artifacts from the UI:
- In Artifactory > Artifacts, select the Federated repository.
- Click Deploy.
- Select files and target path.
- Click Deploy to upload.
Deploy from Build Tools
Use Set Me Up to generate tool-specific deployment snippets, or deploy directly with the JFrog CLI:
jf rt upload <LOCAL_PATH> <REPO_KEY>/<TARGET_PATH>Where:
<LOCAL_PATH>: The path to the file on your local machine<REPO_KEY>: The key of the Federated repository
For example:
jf rt upload ./build/app.jar federated-libs-release/com/myapp/1.0/app.jarHow Sync Works After Deployment
The following table summarizes how synchronization proceeds after you deploy an artifact.
| Step | Result |
|---|---|
| Upload on local member | Artifact stored locally |
| Event generated | Federation processing begins |
| Event propagated | Eligible members receive artifact |
| Sync completes | Artifact available across members |
Frequently Asked Questions
This section provides answers to frequently asked questions.
FAQs
Q: What permission do I need to deploy artifacts to a Federated repository?
A: You need DEPLOY permission on the repository. See Before You Begin for the full list of prerequisites.
Q: How do I deploy artifacts using build tools instead of the UI?
A: Use Set Me Up to generate a tool-specific deployment snippet, or upload directly with the JFrog CLI. See Deploy from Build Tools.
Q: When will my deployed artifact be available on other Federation members?
A: It's available immediately on your local JPD. It becomes available on remote JPDs once synchronization completes. See How Sync Works After Deployment.
Q: Can I deploy artifacts to a Federated repository from the Artifactory UI?
A: Yes. Select the repository under Artifactory > Artifacts, click Deploy, then select your files and target path.
Related Topics
Updated about 7 hours ago
