aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplatania <platania@research.att.com>2017-02-20 09:03:36 -0500
committerplatania <platania@research.att.com>2017-02-20 09:03:36 -0500
commita5707488482996cdef4f57c8b71437b9bc572d37 (patch)
tree97ae372b4c418a8fa410c00dab55dc355b2d5624
parent028e8f22a18cf4e874abbb670bc3211e1211b059 (diff)
Using standard authentication
Change-Id: I5b0d46b307853a5e8a27531138cf436d538c345a Signed-off-by: platania <platania@research.att.com>
-rwxr-xr-xscripts/deploy.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 0dd0524e..94a98965 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -24,16 +24,20 @@ echo "machine nexus.openecomp.org login ${USER} password ${PASS}" > "${NETRC}"
##### Upload scripts into Nexus raw repository #####
cd $PATH_TO_BOOT
-ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$BOOT_GROUP_ID/$VERSION/{}
+#ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$BOOT_GROUP_ID/$VERSION/{}
+ls | xargs -I{} curl -k -v -u $USER:$PASS --upload-file {} $REPO_URL/$BOOT_GROUP_ID/$VERSION/{}
cd $PATH_TO_HEAT
-ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$HEAT_GROUP_ID/$VERSION/{}
+#ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$HEAT_GROUP_ID/$VERSION/{}
+ls | xargs -I{} curl -k -v -u $USER:$PASS --upload-file {} $REPO_URL/$HEAT_GROUP_ID/$VERSION/{}
cd $PATH_TO_VFW
-ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$VFW_GROUP_ID/$VERSION/{}
+#ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$VFW_GROUP_ID/$VERSION/{}
+ls | xargs -I{} curl -k -v -u $USER:$PASS --upload-file {} $REPO_URL/$VFW_GROUP_ID/$VERSION/{}
cd $PATH_TO_VLB
-ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$VLB_GROUP_ID/$VERSION/{}
+#ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$VLB_GROUP_ID/$VERSION/{}
+ls | xargs -I{} curl -k -v -u $USER:$PASS --upload-file {} $REPO_URL/$VLB_GROUP_ID/$VERSION/{}
####################################################
########## Clean up ##########