[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: only notify about reproducible -> ftbfs status changes in testing, as they happen to frequently in unstable

Holger Levsen holger at moszumanska.debian.org
Wed Jul 22 08:35:33 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 9309817ea967c5d87deb9cc639215d092a3d89de
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Jul 22 10:34:18 2015 +0200

    reproducible: only notify about reproducible -> ftbfs status changes in testing, as they happen to frequently in unstable
---
 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 f054aa1..7ee7282 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -123,7 +123,7 @@ update_db_and_html() {
 	local OLD_STATUS=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT status FROM results WHERE package_id='${SRCPKGID}'")
 	# notification for changing status
 	if [ "${OLD_STATUS}" = "reproducible" ] ; then
-		if [ "$STATUS" = "unreproducible" ] || [ "$STATUS" = "FTBFS" ] ; then
+		if [ "$STATUS" = "unreproducible" ] || ( [ "$STATUS" = "FTBFS" ] && [ "$SUITE" = "testing" ] ) ; then
 			MESSAGE="${REPRODUCIBLE_URL}/${SUITE}/${ARCH}/${SRCPACKAGE} : reproducible ➤ ${STATUS}"
 			echo "\n$MESSAGE" | tee -a ${RBUILDLOG}
 			irc_message "$MESSAGE"

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