ARTIFACTORY: How to Download a Release Bundle
There may be times that you wish to download a release bundle from Artifactory. There are two ways of doing so. The first one is the Promote option in the Artifactory UI to copy the entire bundle to a repository and then you can download the entire bundle as a .zip file using this curl command:
curl -u <username>:<password> -XGET <artifactoryurl>/artifactory/api/archive/download/<repo-key>/<path>?archiveType=zip --output <filename>.zip
However, before downloading it as an archive, you will need to enable the ‘Enable Folder Download’ option which is under Artifactory UI => Administration Panel => Under Services => Artifactory => Under General => Settings => Under Folder Download Settings. Here is the screenshot for reference.
You can also export the release bundles using this api:
curl -u<username>:<password> -XPOST <artifactoryurl>/lifecycle/api/v2/distribution/export/{release_bundle_name}/{release_bundle_version}