[Qa-jenkins-scm] [jenkins.debian.net] 03/09: reproducible: build: refactor: specific complains when dbd says it's reproducible but 1) there is .buildinfo 2) there is .debbindiff.html

Holger Levsen holger at moszumanska.debian.org
Sat Apr 18 16:06:45 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 73b55a1188254cdfb1f5c8257e70a739266e1fbc
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Mon Apr 6 19:09:14 2015 +0200

    reproducible: build: refactor: specific complains when dbd says it's reproducible but 1) there is .buildinfo 2) there is .debbindiff.html
---
 bin/reproducible_build.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index a2f3bac..2995373 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -157,8 +157,11 @@ handle_reproducible() {
 		echo "${SRCPACKAGE} from $SUITE built successfully and reproducibly on ${ARCH}." | tee -a ${RBUILDLOG}
 		calculate_build_duration
 		update_db_and_html "reproducible"
-	else
-		echo "Debbindiff says the build is reproducible, but either there is a debbindiff file or there is no .buildinfo. Please investigate" | tee -a $RBUILDLOG
+	elif [ -f ./$DBDREPORT ] ; then
+		echo "Debbindiff says the build is reproducible, but there is a debbindiff file. Please investigate" | tee -a $RBUILDLOG
+		handle_ftbr
+	elif [ ! -f b1/$BUILDINFO ] ; then
+		echo "Debbindiff says the build is reproducible, but there is no .buildinfo file. Please investigate" | tee -a $RBUILDLOG
 		handle_ftbr
 	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