diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-03 13:17:00 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-03 13:17:00 +0200 |
commit | a4340c175df0457bee6a365d76b2eda2c029e4c9 (patch) | |
tree | c27b7a2512075a0cc5377c7708a6c9014c68e403 /bin | |
parent | 33ecfe6afb04c4be5065dca294167ebe5e31fd58 (diff) | |
download | jenkins.debian.net-a4340c175df0457bee6a365d76b2eda2c029e4c9.tar.xz |
reproducible: be more verbose when cleaning up
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index c03e3252..61a7a9b5 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -206,15 +206,17 @@ for SRCPACKAGE in ${PACKAGES} ; do let "COUNT_BAD=COUNT_BAD+1" BAD="${SRCPACKAGE} ${BAD}" fi + set -x rm b1 b2 -rf + sudo dcmd rm -f /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}.dsc else sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"FTBFS\", \"$DATE\", \"\")" mv ${SRCPACKAGE}_${EVERSION}.pbuilder.log /var/lib/jenkins/userContent/pbuilder/ set +x echo "Warning: ${SRCPACKAGE} failed to build from source." fi + set -x dcmd rm ${SRCPACKAGE}_${EVERSION}.dsc - sudo dcmd rm -f /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}.dsc rm -f ${SRCPACKAGE}_* > /dev/null 2>&1 fi |