Setup:

ARTIFACTORY: Conan 2.0 - Steps to Install and Upload Packages

AuthorFullName__c
Rohith Balachandran
articleNumber
000005780
ft:sourceType
Salesforce
FirstPublishedDate
2023-06-12T14:52:07Z
lastModifiedDate
2023-06-12
VersionNumber
1

- Create a remote repository in Artifactory with the name ‘conan-remote’.
- Create a local repository in Artifactory with the name ‘conan-local’.

Add above both repositories into a virtual repository called ‘conan-virtual’.

Because of conan-virtual is, we can use the same repository either to upload from a local machine or to pull from upstream. Artifactory takes care of forwarding the requests to the right repository.

Note: If you want to skip virtual repository, you can also work with individual remote and local repositories, however the above description is a best practice.