[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: dont fail job if cleanup fails

Holger Levsen holger at moszumanska.debian.org
Sun Aug 30 21:51:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit ad6f74f4f31481d5d2d2c615aeb9988b30e67e13
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Aug 30 23:51:07 2015 +0200

    reproducible: dont fail job if cleanup fails
---
 bin/reproducible_build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 8bc5928..6d5e5cb 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -101,7 +101,7 @@ cleanup_all() {
 		# compressed files in the html. It's cheap and quite safe so, *shrugs*...
 		gen_package_html $SRCPACKAGE
 		cd
-		rm -r $TMPDIR
+		rm -r $TMPDIR || true
 	fi
 	if ! $BAD_LOCKFILE ; then rm -f $LOCKFILE ; fi
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list