Save md5 and sha1 checksums with artifacts

tarballs.openstack.org seems to be missing checksums

Change-Id: I5653c8bdbbf45aa74d848d28a8e9c38dc5b3fc17
This commit is contained in:
Davanum Srinivas 2014-02-27 13:38:47 -05:00
parent 2172d4bfd2
commit 618f6bff81

View File

@ -25,7 +25,14 @@ source /usr/local/jenkins/slave_scripts/select-mirror.sh $org $project
rm -f dist/*.tar.gz rm -f dist/*.tar.gz
tox -evenv python setup.py sdist tox -evenv python setup.py sdist
echo "SHA1sum: " FILES=dist/*.tar.gz
sha1sum dist/* for f in $FILES
echo "MD5sum: " do
md5sum dist/* echo "SHA1sum for $f:"
sha1sum $f | awk '{print $1}' > $f.sha1
cat $f.sha1
echo "MD5sum for $f:"
md5sum $f | awk '{print $1}' > $f.md5
cat $f.md5
done