Merge "Save md5 and sha1 checksums with artifacts"
This commit is contained in:
commit
b3eebc7a52
@ -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