summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-01-24 17:55:48 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-01-24 17:56:19 +0100
commit9f7233b210aac9f4a362a5fb357cc9abb994072e (patch)
treee4508ac6a0cb85725ba23683ea192cefd2a12ffc /jjb
parentc2eac4583d767f7052bfad996b35105edd49ee46 (diff)
Armband: Add sha256 hash for artifact ISO
JIRA: ARMBAND-208 Change-Id: I96cb3479d17fa5d16e02e65c81c65e7fbdf120df Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'jjb')
-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