Created
June 25, 2021 21:41
-
-
Save uilian/8847d2377bd4b1924cd77f58d198e5b9 to your computer and use it in GitHub Desktop.
Getting latest package from Artifactory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://blog.mimacom.com/artifactory-latest-version/ | |
curl -s $(curl -s $(curl -s "$ARTIFACTORY_URL/$REPO_URL?lastModified" | jq -r '.uri') | jq -r '.downloadUri' ) | |
# with basic auth and defining output directory | |
curl -u$ARTIFACTORY_USER:$ARTIFACTORY_TOKEN -O --output /tmp -s ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment