summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2017-10-16 22:43:03 -0400
committerLusheng Ji <lji@research.att.com>2017-10-16 22:43:10 -0400
commit97112db65bbb3271456fc31fd29be674ae743b4b (patch)
tree7759c191723281039c2ee9ae3c7edc6a32601b43
parent94a4ef60e82e414fc04ba290c54f07fb24e99ca5 (diff)
Keep a timestamped version of raw file uploads
Issue-Id: DCAEGEN2-128 Change-Id: I82413a04a1f43180415657211670b0151089560a Signed-off-by: Lusheng Ji <lji@research.att.com>
-rwxr-xr-xmvn-phase-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mvn-phase-lib.sh b/mvn-phase-lib.sh
index 8854944..64187f4 100755
--- a/mvn-phase-lib.sh
+++ b/mvn-phase-lib.sh
@@ -265,7 +265,7 @@ upload_raw_file()
fi
echo "Sending ${OUTPUT_FILE} to Nexus: ${SEND_TO}"
- #curl -vkn --netrc-file "${NETRC}" --upload-file "${OUTPUT_FILE}" -X PUT -H "Content-Type: $OUTPUT_FILE_TYPE" "${SEND_TO}/${OUTPUT_FILE}-${MVN_PROJECT_VERSION}-${TIMESTAMP}"
+ curl -vkn --netrc-file "${NETRC}" --upload-file "${OUTPUT_FILE}" -X PUT -H "Content-Type: $OUTPUT_FILE_TYPE" "${SEND_TO}/${OUTPUT_FILE}-${MVN_PROJECT_VERSION}-${TIMESTAMP}"
curl -vkn --netrc-file "${NETRC}" --upload-file "${OUTPUT_FILE}" -X PUT -H "Content-Type: $OUTPUT_FILE_TYPE" "${SEND_TO}/${OUTPUT_FILE}-${MVN_PROJECT_VERSION}"
curl -vkn --netrc-file "${NETRC}" --upload-file "${OUTPUT_FILE}" -X PUT -H "Content-Type: $OUTPUT_FILE_TYPE" "${SEND_TO}/${OUTPUT_FILE}"
}