diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-09-29 17:01:23 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-09-29 17:01:23 +0200 |
commit | 2194eb2756ee57e0b43bd0acdda6f7eb9aea3818 (patch) | |
tree | d30eef585564d04cc1f47e177b910af307b40ce4 | |
parent | ab5f0b4b6dba6c0b9af6a5eddafe5e316344d95d (diff) | |
download | jenkins.debian.net-2194eb2756ee57e0b43bd0acdda6f7eb9aea3818.tar.xz |
reproducible: cleanup properly
-rwxr-xr-x | bin/reproducible_build.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index da6e4fa8..39b3da85 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -109,7 +109,6 @@ for SRCPACKAGE in $PACKAGES ; do continue fi sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" pbuilder --build --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_*.dsc | tee ${SRCPACKAGE}_${VERSION}.pbuilder.log - RESULT=$? if [ -f /var/cache/pbuilder/result/${SRCPACKAGE}_${VERSION}_amd64.changes ] ; then mkdir b1 b2 dcmd cp /var/cache/pbuilder/result/${SRCPACKAGE}_${VERSION}_amd64.changes b1 @@ -146,11 +145,8 @@ for SRCPACKAGE in $PACKAGES ; do else sqlite3 -init $INIT $PACKAGES_DB "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"FTBFS\", \"$DATE\", \"\")" mv ${SRCPACKAGE}_${VERSION}.pbuilder.log /var/lib/jenkins/userContent/pbuilder/ - + dcmd rm ${SRCPACKAGE}_${VERSION}.dsc fi - dcmd rm ${SRCPACKAGE}_${VERSION}.dsc - sudo rm -fv /var/cache/pbuilder/result/${SRCPACKAGE}_* 2>/dev/null - fi set +x |