Save md5 and sha1 checksums with artifacts
tarballs.openstack.org seems to be missing checksums Change-Id: I5653c8bdbbf45aa74d848d28a8e9c38dc5b3fc17
This commit is contained in:
parent
2172d4bfd2
commit
618f6bff81
@ -25,7 +25,14 @@ source /usr/local/jenkins/slave_scripts/select-mirror.sh $org $project
|
||||
rm -f dist/*.tar.gz
|
||||
tox -evenv python setup.py sdist
|
||||
|
||||
echo "SHA1sum: "
|
||||
sha1sum dist/*
|
||||
echo "MD5sum: "
|
||||
md5sum dist/*
|
||||
FILES=dist/*.tar.gz
|
||||
for f in $FILES
|
||||
do
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user