Deploy RPM Packages via API

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

You can publish packages via the REST API. When using this method, you can deploy by checksum or from an archive.

For example, to publish an RPM package to a repository called rpm-local, you could use the following:

curl -u<USERNAME>:<PASSWORD> -XPUT https://[JFrogPlatformURL]/artifactory/rpm-local/<PATH_TO_METADATA_ROOT> -T <TARGET_FILE_PATH>

where:

  • <USERNAME>: Your JPD Username

  • <PASSWORD>: Your JPD Password

  • <PATH_TO_METADATA_ROOT>: specifies the path from the repository root to the deploy folder