Configure Virtual Repositories for Deployment

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

To deploy artifacts to a virtual repository, you must set one of the local repositories aggregated by the virtual repository as the default deployment target.

Prerequisite: You must have Admin or Project Admin permissions to create and modify repositories.

To configure a virtual repository for deployment:

  1. In the Administration module, navigate to Repositories. The repository list appears.

  2. Select the repository you want to configure from the list. The repository settings appear.

  3. In the Repositories section, verify that the local repository you want to deploy to is selected and aggregated in the virtual repository. If it's not, use the selector to add it to the list of selected repositories.

  4. In the Default Deployment Repository section, select the repository you want to deploy to from the list.

  5. Click Save.

Deploy commands for the virtual repository now deploy to the selected virtual repository. Additionally, the Set Me Up dialog for the repository includes instructions and code snippets for deploying to that repository.

Tip

You can also set the Default Deployment Repository with the defaultDeploymentRepo parameter in the repository configuration JSON. This parameter is used by the Update Repository Configuration REST API. For more information, see Repository Configuration JSON.Update Repository ConfigurationRepository Configuration JSON

Related Topics