diff options
Diffstat (limited to 'jjb/dcae/script-apod-cdap-verify.sh')
-rwxr-xr-x | jjb/dcae/script-apod-cdap-verify.sh | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/jjb/dcae/script-apod-cdap-verify.sh b/jjb/dcae/script-apod-cdap-verify.sh index 045baa190..d3aa1ed8c 100755 --- a/jjb/dcae/script-apod-cdap-verify.sh +++ b/jjb/dcae/script-apod-cdap-verify.sh @@ -6,7 +6,7 @@ echo '================= STARTING SCRIPT TO CREATE DEBIAN FILE =================' # Extract the username and password to the nexus repo from the settings file 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") -OPENECOMP_NEXUS_REPO="${NEXUSPROXY}/content/sites/raw" +REPO="${NEXUSPROXY}/content/sites/raw" #Create a netrc file for use with curl NETRC=$(mktemp) @@ -69,19 +69,11 @@ ${WORKSPACE}/dcae-apod-buildtools/scripts/package -b debian -d ${STAGE_DIR} \ # date stamp and build number on it. # For example: dcae-cda-small-hadoop_17.01.0-YYYYMMDDHHMMSS-XXX.deb # Both files will then be uploaded to the repository. +# Verify script does not upload to Nexus cp ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${OUTPUT_DIR}/${OUTPUT_FILE} echo "Contents of output directory" ls -lR ${OUTPUT_DIR} -SEND_TO="${OPENECOMP_NEXUS_REPO}/org.openecomp.dcae.apod.cdap/deb-snapshots/${OUTPUT_FILE}" -echo "Sending ${OUTPUT_DIR}/${OUTPUT_FILE} to Nexus: ${SEND_TO}" -curl -vkn --netrc-file "${NETRC}" --upload-file ${OUTPUT_DIR}/${OUTPUT_FILE} ${SEND_TO} - -SEND_TO="${OPENECOMP_NEXUS_REPO}/org.openecomp.dcae.apod.cdap/deb-snapshots/${OUTPUT_FILE_DATE_STAMPED}" - -echo "Sending ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} to Nexus: ${SEND_TO}" -curl -vkn --netrc-file "${NETRC}" --upload-file ${OUTPUT_DIR}/${OUTPUT_FILE_DATE_STAMPED} ${SEND_TO} - echo '================= ENDING SCRIPT TO CREATE DEBIAN FILE ===================' |