From 8b53ae0ad0ac8858713a520ef5c2e06139a5c364 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 6 Jul 2016 22:16:26 +0200 Subject: [PATCH 1/1] buildserver: delete corrupt files from the cache In order to make CI and other automation easier, delete any corrupt files from the cache if they fail the SHA-256 check. https://jenkins.debian.net/view/reproducible/job/reproducible_setup_fdroid_build_environment_profitbricks3/112/console --- makebuildserver | 1 + 1 file changed, 1 insertion(+) diff --git a/makebuildserver b/makebuildserver index 62fee88d..173ca747 100755 --- a/makebuildserver +++ b/makebuildserver @@ -306,6 +306,7 @@ for srcurl, shasum in cachefiles: print("\t...shasum verified for " + local_filename) else: print("Invalid shasum of '" + v + "' detected for " + local_filename) + os.remove(local_filename) sys.exit(1) # use VirtualBox software virtualization if hardware is not available, -- 2.30.2