1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash source repo_config.txt SOURCE_DIR=../vnfs/vLB/scripts GROUP_ID=org.openecomp.demo.vnf.vlb VERSION=1.0.0 cd $SOURCE_DIR ls | xargs -I{} curl -v -u $REPO_USERNAME:$REPO_PASSWORD --upload-file {} $REPO_URL/$GROUP_ID/$VERSION/{}