Upload & download symlinks Artifactory - artifactory

I have uploaded some symlink to Artifactory, but when I get it from Artifactory it's file, not the symlink.
I expect to get the symlink from Artifactory.
Please give me some suggestions.

Artifactory does not natively support symlinks, and the REST API and web UI can't support them because HTTP doesn't support them. To upload and download symlinks, you need to use the JFrog CLI, and you need to pass the --symlinks option.

Related

JFrog artifactory - option to create docker repository is disabled

I am using on-prem JFrog Artifactory to hold maven artifacts. I have a need to use this artifactory to hold my app's docker images. So I tried creating a new docker repository but it showed me docker type as disabled. When I am looking around people are suggesting to use JFrog Container Registry.
My question is, can't I create a docker repository in my existing artifactory, does it require any plugin etc. to be downloaded to add this functionality in existing artifactory ? And how to enable that docker repository option while trying to create a new repository ?
Seems like you are using the Artifactory OSS version and not the Artifactory pro version, Artifactory OSS is limited as this an open-source version for the Maven-based projects. As everyone recommends you can make use of the JFrog container registry which is free to use application to handle the Docker registries.
Otherwise you can utilize the FREE Cloud Artifactory to handle all the different repositories in a single Artifactory instance.

Deploy an artifact to Artifactory as a bundle using REST api

Is there a way to deploy an artifact as a bundle using Artifactory's rest api? I cant find it in the docs but seems unreasonable to enable only from the ui...
If you mean bundle as in zip (archive) and deploy the zip and extract it in Artifactory rather than deploying each file, you can use Deploy Artifacts from Archive REST API.
If this isn't your use-case, kindly elaborate.

How to avoid overriding the existing files while uploading to Artifactory using JFrog rt CLI

I am uploading the files to Artifactory server using JFrog CLI using spec file (jfrog rt). I do not see any option to avoid overriding the existing files in Artifactory server while uploading using JFrog CLI.
Does anybody know any work around or any other option to avoid overriding.

How to clone JFrog Artifactory into a local installation of JFrog Artifactory?

I have JFrog Artifactory http://organization.com/artifactory/ with read access. I can download individual artifacts let's say gulp-git-2.8.0.tgz using native browser.
Now, I have created local JFrog Artifactory http://localhost.com:8081/artifactory/ in machine and it does not have any artifacts.
I am trying to fetch my organizations artifacts lets say of npm package http://organization.com/artifactory/npm/ into my local artifactory http://localhost:8081/artifactory/npm/
Since it has many artifacts and I cannot do it manually of download from organization server and deploying it to my local server.
Is there anyway that I can fetch only the required package let's say npm to my local server? Or is there anyway to replicate my organization's package using read access into my local server?
Thanks in advance.
If you have Admin permissions to the source Artifactory you can setup Push replication or to perform a Repository Export.
Without Admin permissions, you can:
Setup Pull Replication.
Use the JFrog CLI in order to download entire repository content, and then upload it in the same structure.

Configure shared credentials in Artifactory Maven 3 job

Bamboo supports shared credentials.
I would like to use these shared credentials to commit tags to git using the artifactory maven addon.
According to this ticket: https://www.jfrog.com/jira/browse/BAP-189 it should work.
I do however not know where to configure it.
We are using bamboo 5.14.3.1
Artifactory plugin 2.1.0
Was this feature removed?

Resources