Questions tagged [jfrog-cli]

For questions about the command line interface (CLI) tool for JFrog (a DevOps automation platform). QUESTIONS MUST BE ABOUT USING THE CLI IN PROGRAMMING. Questions which are just about using the CLI, options for CLI tools, etc. are OFF-TOPIC on Stack Overflow.

JFrog CLI is a compact and smart client that provides a simple interface that automates access to JFrog products simplifying your automation scripts and making them more readable and easier to maintain.

JFrog CLI works with JFrog Artifactory, JFrog Mission Control, JFrog Bintray and JFrog Xray (through their respective REST APIs) making your scripts more efficient and reliable in several ways:

  • Parallel uploads and downloads
  • Checksum optimization
  • Wildcards and regular expressions
  • Upload preview

For more info about Jfrog CLI, visit Jfrog CLI wiki.

371 questions
2
votes
1 answer

Is there any way to exclude certain Maven artifacts when deploying to Artifactory with JFrog CLI?

I'm trying to automate a Gitlab CI/CD pipeline for building and deploying a multi-module Maven project to Artifactory. I came across the JFrog CLI tool, but I have an issue due to the fact that there are some jars in my projects that have to be…
voiq
  • 23
  • 4
2
votes
1 answer

Error in jfrog-cli : The following error was received while trying to encrypt your password: Artifactory response: 404 404

Error in jfrog-cli : The following error was received while trying to encrypt your password
Hiral Solanki
  • 33
  • 1
  • 4
2
votes
0 answers

How to use --archive-entries options with JFrog CLI search and download commands

I want to search and download only particular file from the conan package archive(i.e. conan_package.tgz) using JFrog CLI. I have tried following, but it didn't work. jfrog rt s */*conan/ --archive-entries=conaninfo.txt Even though there is a file…
user2891090
  • 21
  • 1
  • 3
2
votes
3 answers

How to fetch war file from Jfrog artifactory inside dockerfile ? getting HTTP 401 error

I have created a declarative jenkins pipeline and one of it's stages is as follows: stage('Docker Image'){ steps{ bat 'docker build -t HMT/demo-application:%BUILD_NUMBER% --no-cache -f Dockerfile .' } } This is the…
HMT
  • 2,093
  • 1
  • 19
  • 51
2
votes
1 answer

Error - Artifactory response: 405 Method Not Allowed

I'm trying to download a file from my Jfrog artifactory to my local machine with CLI command: jfrog rt dl --user *username* --password *password* -url https://*domain*.jfrog.io/artifactory/*my-folder-name*/ --flat=false * c:/jfrog/ I'm getting: Log…
Rony Levi
  • 25
  • 1
  • 1
  • 3
2
votes
1 answer

Deleting artifacts with JFrog CLI gives "200 OK", but artifacts are not deleted

I have created an AQL that gives me a number of artifacts I want to delete from Artifactory. I can run a search command with the jfrog-cli on it, and get the correct list of artifacts: jfrog rt s --spec search-aql.json When I try to delete the…
2
votes
1 answer

failed to publish artifact with JFrog CLI

after upgrade to version jfrog version 1.38.0 we got the following error when trying to upload a tgz file to artifactory : 09:48:31 > Task :addRepo 09:48:31 >>> Adding repo to push charts 09:48:32 09:48:32 > Task :publish FAILED 09:48:32 >>>…
Mor Lajb
  • 2,546
  • 1
  • 15
  • 28
2
votes
1 answer

How to find specific artifacts using aql and jfrog cli

I want to find all the artifacts that contain specific pattern, except of few. My aql.json items.find({ "name":{"$match": "*test*"}, "name":{"$nmatch": "*test1*"}, "name":{"$nmatch": "*test2*"} }) and I get this error: [Error]…
yiaca
  • 147
  • 2
  • 17
2
votes
1 answer

Create new JFrog Artifactory local repository with JFrog CLI

How can I create a new Artifactory local repository with JFrog CLI, this means without UI? I use JFrog CLI version 1.34.0. many thanks
Mrprimus
  • 59
  • 1
  • 5
2
votes
1 answer

How to upgrade Jfrog Artifactory pro to enterprise or enterprise+?

In our organization, we are planning to purchase jfrog artifactory pro version on an initial level, but we have some questions we listed below. Questions: Are we able to upgrade from artifactory pro to enterprise or enterprise+ later on? If Upgrade…
2
votes
2 answers

How to digital sign jfrog artifacts?

I have a Jenkins job which uploads zip files to JFrog, I want to know is there any way I can digital sign jfrog artifacts i.e. zip file? Suggest anything that helps me on my query. Thanks in Advance.
2
votes
1 answer

jenkins master and slave artifact path and deploy to artifactory

1, i am using jenkins master and slave concept, i m running jobs on slave machine. My question is where does the final artifact is stored by default, whether in master or slave machine and what is the path? 2, i should deploy the final artifacts…
Kiran
  • 221
  • 1
  • 2
  • 10
2
votes
0 answers

Unable to upload files to Artifactory using JFrog CLI

I'm getting following error when I upload files to an empty repository. Please help me to resolve it. [Error] [Thread 0] Artifactory response: 404 { "errors": [ { "status": 404, "message": "Checksum deploy failed. No existing file…
Vishnu
  • 97
  • 1
  • 13
2
votes
1 answer

Why does XRay Scan for jFrog Artifacts triggered from Jenkins returns a forbidden response?

I tried triggering the Xray Scan from Jenkins through the jFrog server as specified in their documentation. The pipeline code used is as follows: node { stage('XRAY Scan') { def server = Artifactory.server('jFrogServer') …
Arghya
  • 240
  • 1
  • 16
2
votes
1 answer

Getting :"Artifactory response: 308 Permanent Redirect" when using JFROG CLI tool on linux

I'm trying to copy a package from one location to another using the jfrog cli, something like: jfrog rt cp 1st-place/app/1.0.123/ 2nd-place/ And I'm getting the error: [Info] Searching artifacts... [Error] Artifactory response: 308 Permanent…
Bercko21
  • 21
  • 4
1 2
3
24 25