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
0
votes
2 answers

jfrog rt glc search matching artifactory repository files in refs/remotes/*. git lfs places these files in lfs\objects

When I use jfrog rt glc it wants to delete all of the artifacts in the gitlfs repo in artifactory. But I have still one file in the local git repo! E:\test-scripts>jfrog rt glc [Info] Searching files from Artifactory repository lfs-local … …
meedel
  • 21
  • 2
0
votes
2 answers

Not able to upload the artifact using jfrog-cli command line

I am trying to upload a artifact using following command: jfrog rt u "win_b64" http://localhost:8082/artifactory/Test I am getting the below output: { "status": "success", "totals": { "success": 0, "failure": 0 } } But I am not able to see…
user_9090
  • 1,884
  • 11
  • 28
0
votes
1 answer

Get Latest Version from Artifactory Nuget Repository

In JFrog Artifactory, how do you perform a GET request for the latest version in a Nuget repository. We have tried the below method but I don't think its meant for Nuget repos. GET GET…
navig8tr
  • 1,724
  • 8
  • 31
  • 69
0
votes
1 answer

How to execute jFrog CLI in Jenkins?

I am using Jenkins for CI/CD and want to download some artifactory using jFrog command line. I know some of the commands of jFrog by which I can get the artifacts but I want to do it through Jenkins. Can anybody help me how can I accomplish it…
thisisdude
  • 543
  • 1
  • 7
  • 31
0
votes
1 answer

How to download the artifactory by parsing AQL using curl script?

I am using curl for downloading the latest artifactory from the repository and then want to download it to my server.. How can I achieve that. I am using the following command for getting AQL. curl -u 'uname:pwd' -X PUT …
thisisdude
  • 543
  • 1
  • 7
  • 31
0
votes
1 answer

How to download the latest uploaded file using jFrog with Curl command?

I have set of files uploaded to the global repository. I need to download the latest uploaded file.. How can I do it by using jFrog? Which Curl command should I use? Currently I am using curl -O…
thisisdude
  • 543
  • 1
  • 7
  • 31
0
votes
2 answers

Uploading files to artifactory from Java

I have a handful of files in Local which I want to deploy to artifactory. I am planning to create a java class which connects to the repository , create folders & then upload the files inside the folder. Is it possible to do this in Java ? Please…
Jagan
  • 37
  • 10
0
votes
0 answers

Artifactory BootStrapping

I am containerizing our Artifactory server. I am using the bootstrap file to get the initial configuration for our image. Things like repositories, ldap, etc. This seems to work fine. But I am wondering how to bootstrap the permissions? It doesn't…
tdh
  • 103
  • 2
  • 11
0
votes
0 answers

JFrog CLI returns "The handle is invalid" when adding git info to build

I noticed that in my Jenkins builds, JFrog CLI tends to fail when adding git build info: jfrog rt build-add-git jfrog_cli_test 42 [Error] read D:\workspace\jfrog_cli_test\.git: The handle is invalid. There does not seem to be a particular reason,…
Florian Castellane
  • 1,197
  • 2
  • 14
  • 38
0
votes
1 answer

How can I use npm-install with --build-name and --build-number command options as a non-admin user in JFrog CLI?

Description I am trying to set up JFrog’s Artifactory Pro (v 6.0.1) to store and cache dependencies of my projects. I want to use JFrog CLI to collect and publish the npm-build information to Artifactory just like it is described in this…
Simon
  • 13
  • 5
0
votes
1 answer

Artifactory CLI - Jfrog - How to get binary Hash code (SHA1, SHA256) through jfrog CLI

Is there a way to get the binary HASH code(SHA1, SHA256) from artifactory through jfrog cli? Or at least to download only binaries with specific HASH. I tried to use the props like below, but it does not work. jfrog rt download --props…
brane
  • 585
  • 6
  • 20
0
votes
1 answer

Maven and JFROG artifactory

I'm using 'mvn install' command, It is pushing artifacts to JFROG under libs-release-local with groupId, artifactID and Version Number. What my question is: artifact version is 1.2.1, It is replacing a new artifact and deleting old artifact. Can I…
viswa
  • 21
  • 6
0
votes
2 answers

how to use curl command with wildcard for deploying artifact to jfrog artifactory

How to use curl command with a wildcard for deploying an artifact to Jfrog Artifactory repo. I'm trying to use the below from Jenkins pipeline script, and getting an error. stage 'Deploy Aritfacts to Artifactory' …
itgeek
  • 549
  • 1
  • 15
  • 33
0
votes
2 answers

How to upload multiple artifacts(.zip) to different targets in arifactory using Jenkins pipeline script

How to upload multiple maven artifacts(.zip) to different targets in Jfrog Artifactory using Jenkins pipeline script
itgeek
  • 549
  • 1
  • 15
  • 33
0
votes
1 answer

Jenkins-Groovy - Jfrog Artifactory - getting exception while downloading artifacts Calculated MD5 checksum is different from original

I am working with Jenkins - Groovy Script, uploading and downloading artifacts to and from jfrog artifactory. Below is the code for upload and download zip folder. stage("Upload Artifact to Jfrog"){ def server = Artifactory.server…
Gowtham.K.Reddy
  • 967
  • 1
  • 9
  • 26