[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible arch: ignore schroot failures to clean up sessions
    Holger Levsen 
    holger at moszumanska.debian.org
       
    Fri Oct 16 16:10:26 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 df9ec72433891e5e3f1cc367e51255e3c47ec11c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Oct 16 17:54:51 2015 +0200
    reproducible arch: ignore schroot failures to clean up sessions
---
 bin/reproducible_build_arch_pkg.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index 254bc1c..c75caf7 100755
--- a/bin/reproducible_build_arch_pkg.sh
+++ b/bin/reproducible_build_arch_pkg.sh
@@ -17,7 +17,7 @@ cleanup_all() {
 	rm $TMPDIR -r
 	echo "$(date -u) - $TMPDIR deleted."
 	if [ "$MODE" != "master" ] ; then
-		schroot --end-session -c arch-$SRCPACKAGE
+		schroot --end-session -c arch-$SRCPACKAGE > /dev/null 2>&1 || true
 	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