Reputation: 811
Here's how you upload an artifact with a different name using curl:
curl -H "X-JFrog-Art-Api:<KEY>" -X PUT "http://localhost:8081/artifactory/<TARGET_REPO>/custom_artifact_name.zip" -T original_artifact_name.zip
But how do you do this with the jfrog cli? Here's what I have so far:
jfrog rt u original_artifact_name.zip <TARGET_REPO> --url "http://localhost:8081/artifactory" --apikey="<KEY>"
Upvotes: 0
Views: 740