summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-08-07 15:03:28 +0000
committerHolger Levsen <holger@layer-acht.org>2015-08-07 17:04:38 +0200
commitace932886788343aec73582439b2e049e7742182 (patch)
tree01547f4e806ad8f5369ffd9e7223d5be734553b7 /bin/reproducible_common.sh
parentbb31057d5cc15241960ffec7b0ce584037008ca7 (diff)
downloadjenkins.debian.net-ace932886788343aec73582439b2e049e7742182.tar.xz
reproducible: teach _blacklist.sh to clean up packages files when blacklisting
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 569cb56d..5b6faf3d 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -439,6 +439,15 @@ get_filesize() {
fi
}
+cleanup_userContent() {
+ rm -vf $BASE/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_*.rbuild.log{,.gz}
+ rm -vf $BASE/logs/${SUITE}/${ARCH}/${SRCPACKAGE}_*.build?.log{,.gz}
+ rm -vf $BASE/dbd/${SUITE}/${ARCH}/${SRCPACKAGE}_*.debbindiff.html
+ rm -vf $BASE/dbdtxt/${SUITE}/${ARCH}/${SRCPACKAGE}_*.debbindiff.txt{,.gz}
+ rm -vf $BASE/buildinfo/${SUITE}/${ARCH}/${SRCPACKAGE}_*.buildinfo
+ rm -vf $BASE/logdiffs/${SUITE}/${ARCH}/${SRCPACKAGE}_*.diff{,.gz}
+}
+
#
# create the png (and query the db to populate a csv file...)
#