summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2017-01-30 19:58:30 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-30 19:58:30 +0000
commit4cef2422e9a59f43d7bceb28c3df58c0037f6e86 (patch)
tree456cfe405acbe9c9f8afbb19bccb260cfc05f1d7
parent46efd788b734627064e3f2f50f666ce13aeee922 (diff)
parent9f7233b210aac9f4a362a5fb357cc9abb994072e (diff)
Merge "Armband: Add sha256 hash for artifact ISO"
-rwxr-xr-xjjb/armband/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/armband/build.sh b/jjb/armband/build.sh
index a058ca158..a71cf1112 100755
--- a/jjb/armband/build.sh
+++ b/jjb/armband/build.sh
@@ -96,6 +96,7 @@ ls -al $BUILD_DIRECTORY
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.iso"
+ echo "OPNFV_ARTIFACT_SHA512SUM=$(sha512sum $BUILD_DIRECTORY/opnfv-$OPNFV_ARTIFACT_VERSION.iso | cut -d' ' -f1)"
echo "OPNFV_BUILD_URL=$BUILD_URL"
) > $WORKSPACE/opnfv.properties