Skip to content

Instantly share code, notes, and snippets.

@chtz
Created March 11, 2018 20:28
Show Gist options
  • Save chtz/a2ac85ac8603a189f499f1f345e7c9cd to your computer and use it in GitHub Desktop.
Save chtz/a2ac85ac8603a189f499f1f345e7c9cd to your computer and use it in GitHub Desktop.
Deploy jar to artifactory with curl
docker run -d --name artifactory-oss -p 8081:8081 docker.bintray.io/jfrog/artifactory-oss:4.16.0
curl -uadmin:password -T target/backup-0.0.2.jar "http://localhost:8081/artifactory/libs-release-local/ch/furthermore/backup/0.0.2/backup-0.0.2.jar"
curl -uadmin:password -T pom.xml "http://localhost:8081/artifactory/libs-release-local/ch/furthermore/backup/0.0.2/backup-0.0.2.pom"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment