[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: only look for stale builds in stale-builds.log

Holger Levsen holger at layer-acht.org
Mon Jan 9 01:39:09 UTC 2017


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 d88d4983c8f63f3776821dee8629292b21e18064
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jan 9 02:39:06 2017 +0100

    reproducible Debian: only look for stale builds in stale-builds.log
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_maintenance.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index ee71b3d..39dc9d1 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -433,7 +433,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ]  ; then
 				for a in $ARCHS archlinux fedora ; do
 						echo "- $(grep https $TMPFILE|grep -c _$a) from $a."
 				done
-			  else
+			  elif grep -q 'stale builds found' $TMPFILE ; then
 				echo "$(grep -c 'stale builds found' $TMPFILE || true) entries found:"
 				for a in $ARCHS ; do
 						echo "- $(grep -c ${a}_ $TMPFILE) from $a."

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