Created
April 10, 2020 07:07
-
-
Save abdennour/6e9777c79bf0f2cd875741912bcc235a to your computer and use it in GitHub Desktop.
Add Repo to Nexus
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
for i in {1..4}; do | |
f=.nexus-init/0${i}.json | |
curl -vX POST -u admin:admin123 \ | |
http://localhost:8081/service/rest/beta/repositories/maven/proxy \ | |
-d @${f} -H "Content-Type: application/json" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment