jfrog-cli

Artifactory : java.io.IOException: Failed to deploy file. Status code: 404 Response message

一曲冷凌霜 提交于 2020-12-13 03:51:15
问题 Unable to deploy artfacts on our artifactory set on https. Execution failed for task ':artifactoryDeploy'. java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: Failed to deploy file. Status code: 404 Response message: Artifactory returned the following errors: Failed to persist file with sha1: ed7a19cc58e736b5cd9d1ef5ec7d2ff897d4793f Status code: 404 Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Artifactory : java.io.IOException: Failed to deploy file. Status code: 404 Response message

送分小仙女□ 提交于 2020-12-13 03:50:08
问题 Unable to deploy artfacts on our artifactory set on https. Execution failed for task ':artifactoryDeploy'. java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: Failed to deploy file. Status code: 404 Response message: Artifactory returned the following errors: Failed to persist file with sha1: ed7a19cc58e736b5cd9d1ef5ec7d2ff897d4793f Status code: 404 Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.

How can I remove `artifactory_name` from JFrog's Artifactory cloud url

只谈情不闲聊 提交于 2020-01-24 19:21:45
问题 I have created an on-cloud JFrog account. As per my requirement, I have to remove artifactory_name from jfrog url. Currently, I have https://example.jfrog.io/example/webapp/#/home I want https://example.jfrog.io/webapp/#/home How could I remove second example from above URL 回答1: Currently, this functionality is not supported by JFrog's cloud offering. 来源: https://stackoverflow.com/questions/58968751/how-can-i-remove-artifactory-name-from-jfrogs-artifactory-cloud-url

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

梦想的初衷 提交于 2020-01-16 07:32:28
问题 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 'JfrogTAArtifactory' def uploadSpec = """{ "files": [ { "pattern": "${env.WORKSPACE}\\${artifactsfoldername}\\API-${env.BUILD_NUMBER}.zip", "target": "internal-repo/folderName/subFolder/", "props": "type=zip;status=ready" } ] }""" def buildInfo = server.upload

JFrog CLI can't set properties on an artifact in JFrog Artifactory for the first property name and using SSH key examples for multi property search

橙三吉。 提交于 2020-01-06 14:34:58
问题 JFrog Artifactory: 5.8.4 Professional. JFrog CLI: 1.12.1 I'm using the official documentation of JFrog CLI to set few properties on an artifact that's available in Artifactory repo. NOTE: I don't want to use Artifactory AQL for now and trying to get this working using jfrog cli. I successfully configured the CLI client (the file ~/.jfrog/jfrog-cli.conf with entries for authentication using either username/password and with an API Key was created successfully). For setting properties on an

How to sort Artifactory package search result by version number with JFrog CLI?

試著忘記壹切 提交于 2020-01-05 05:42:07
问题 I need to get the latest version of a specific NuGet package in Artifactory . I use following JFrog CLI command to receive a list of all versions (later on with --limit=1 ), including JSON parsing with jq: jfrog rt s myRepo/Path/ --props "nuget.id=MyLib" --sort-by=name --sort-order=desc | jq -M -r ".[] | .props.\"nuget.version\" | .[]" The above example results in raw string output like this: 1.2.3.101 1.2.3.103 1.2.3.95 1.2.3.99 1.2.3.99-beta10 1.2.3.99-beta9 My target is to get an output

Artifactory AQL download artifact

江枫思渺然 提交于 2019-12-21 23:19:13
问题 Is there a way to download an artifact using AQL? I have a query sent with: curl -u user:pass \ -X POST https://artifactoryURL/artifactory/api/search/aql \ -H 'content-type: text/plain' \ -T query.aql And my query.aql : items.find( { "repo":{"$eq":"repo"}, "$and": [ { "path": { "$match": "path/*"}, "name": { "$match": "*.rpm"} } ] } ) .sort({ "$desc": ["modified"] }) .limit(1) Now that I know it returns what I want, Is there a way to change the request from api/search/aql to something like

Is there any automated way to get artifact download URL back from artifactory?

佐手、 提交于 2019-12-11 17:49:45
问题 Is there any automated way to get artifact download URL back ? I'm working with maven projects , I use bamboo for build automation. After successful Build completion, artifacts will be pushed Jfrog artifactory. My requirement here is to get the artifact download URL back in an automated way(Using bamboo Plugins, Rest API, Jfrog CLI, Maven or any other) 回答1: You can use the Build Artifacts Search REST API endpoint. You will need to send the build name + number in the JSON, Artifactory will