diff options
author | platania <platania@research.att.com> | 2017-02-19 20:22:42 -0500 |
---|---|---|
committer | platania <platania@research.att.com> | 2017-02-19 20:22:42 -0500 |
commit | fe8a06b1af64d4ecdf3f0ee9854a621068c47e14 (patch) | |
tree | 10de6d6ccace72477850380baa47b174f52fc746 /scripts | |
parent | 98d8193409e77457d5490b4368aea436fa2878fa (diff) |
Fix credentials to access Raw repo
Change-Id: I12ee9bfebd7faaa0a5448e7b0caa0252de22a4a7
Signed-off-by: platania <platania@research.att.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/deploy.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh index f5e58846..8d2f0e5f 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -19,21 +19,21 @@ REPO_URL="https://nexus.openecomp.org/content/sites/raw" USER=$(xpath -q -e "//servers/server[id='ecomp-raw']/username/text()" "$SETTINGS_FILE") PASS=$(xpath -q -e "//servers/server[id='ecomp-raw']/password/text()" "$SETTINGS_FILE") NETRC=$(mktemp) -echo "machine nexus.openecomp.org login ${USER} password ${PASS}" > "$NETRC" +echo "machine nexus.openecomp.org login ${USER} password ${PASS}" > "${NETRC}" ####################################### ##### Upload scripts into Nexus raw repository ##### cd $PATH_TO_BOOT -ls | xargs -I{} curl -vkn --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/{} cd $PATH_TO_HEAT -ls | xargs -I{} curl -vkn --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/{} cd $PATH_TO_VFW -ls | xargs -I{} curl -vkn --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/{} cd $PATH_TO_VLB -ls | xargs -I{} curl -vkn --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/{} #################################################### ########## Clean up ########## |