summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2017-02-23 09:14:29 +0800
committerAric Gardner <agardner@linuxfoundation.org>2017-02-23 21:29:57 +0000
commit7c884f20358121fb0f4a332db613c0f1a07e365a (patch)
treea5a2e694208840ca3fd55819982c8218b4b82e06
parentd4378d2b61639310f93377dbaebe419201e330e8 (diff)
Add sha512sum into opnfv.properties file for daisy
Change-Id: I21146ebba8088d00f201e1acb51d71731aa595a9 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
-rwxr-xr-xjjb/daisy4nfv/daisy4nfv-build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/daisy4nfv/daisy4nfv-build.sh b/jjb/daisy4nfv/daisy4nfv-build.sh
index eb29fed72..375d80733 100755
--- a/jjb/daisy4nfv/daisy4nfv-build.sh
+++ b/jjb/daisy4nfv/daisy4nfv-build.sh
@@ -26,6 +26,7 @@ cd $WORKSPACE
echo "OPNFV_GIT_URL=$(git config --get remote.origin.url)"
echo "OPNFV_GIT_SHA1=$(git rev-parse HEAD)"
echo "OPNFV_ARTIFACT_URL=$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.bin"
+ echo "OPNFV_ARTIFACT_SHA512SUM=$(sha512sum $OUTPUT_DIR/opnfv-$OPNFV_ARTIFACT_VERSION.bin | cut -d' ' -f1)"
echo "OPNFV_BUILD_URL=$BUILD_URL"
) > $WORKSPACE/opnfv.properties