[Qa-jenkins-scm] [jenkins.debian.net] 02/02: only point out FIXMEs when deploying on jenkins

Holger Levsen holger at moszumanska.debian.org
Fri Dec 11 23:34:01 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 ea442dad2f1730859b28398c8a225d2591bc2807
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Dec 12 00:25:06 2015 +0100

    only point out FIXMEs when deploying on jenkins
---
 update_jdn.sh | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index 3e05f40..9115178 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -512,13 +512,15 @@ fi
 # There's always some work left...
 #	echo FIXME is ignored so check-jobs scripts can output templates requiring manual work
 #
-rgrep FI[X]ME $BASEDIR/* | grep -v echo > $TMPFILE || true
-if [ -s $TMPFILE ] ; then
-	echo
-	cat $TMPFILE
-	echo
+if [ "$HOSTNAME" = "jenkins" ] ; then
+	rgrep FI[X]ME $BASEDIR/* | grep -v echo > $TMPFILE || true
+	if [ -s $TMPFILE ] ; then
+		echo
+		cat $TMPFILE
+		echo
+	fi
+	rm -f $TMPFILE
 fi
-rm -f $TMPFILE
 
 #
 # finally

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