[Qa-jenkins-scm] [jenkins.debian.net] 06/07: reproducible: don't try to parse inexisting logs

Holger Levsen holger at moszumanska.debian.org
Sun Oct 4 09:34:36 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 64ce0015211b0eb8821840ba3655a03d0b5d89cd
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Oct 4 11:28:58 2015 +0200

    reproducible: don't try to parse inexisting logs
---
 bin/reproducible_build.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index f89346d..da16cab 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -198,6 +198,9 @@ handle_ftbfs() {
 	local BUILD
 	echo "${SRCPACKAGE} failed to build from source."
 	for BUILD in "1" "2"; do
+		if [ ! -f "$BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build${BUILD}.log.gz" ] ; then
+			continue
+		fi
 		if zgrep -F "E: pbuilder-satisfydepends failed." "$BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build${BUILD}.log.gz" ; then
 			handle_depwait
 			return

-- 
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