[Qa-jenkins-scm] [jenkins.debian.net] 01/01: show FIXMEs when deploying on jenkins-test-vm (and only show cucumber related FIXMEs there)

Holger Levsen holger at layer-acht.org
Thu Jun 2 11:56:44 UTC 2016


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 14a0356717ee9b4f286f370f09df31cae933b621
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Jun 2 13:56:26 2016 +0200

    show FIXMEs when deploying on jenkins-test-vm (and only show cucumber related FIXMEs there)
---
 update_jdn.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index 0c31bd5..4f739c6 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -579,11 +579,16 @@ fi
 # There's always some work left...
 #	echo FIXME is ignored so check-jobs scripts can output templates requiring manual work
 #
-if [ "$HOSTNAME" = "jenkins" ] ; then
+if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
 	rgrep FI[X]ME $BASEDIR/* | grep -v echo > $TMPFILE || true
 	if [ -s $TMPFILE ] ; then
 		echo
-		cat $TMPFILE
+		# only show cucumber FIXMEs when deploying on jenkins-test-vm
+		if [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
+			cat $TMPFILE
+		else
+			cat $TMPFILE | grep -v cucumber
+		fi
 		echo
 	fi
 	rm -f $TMPFILE

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