[Qa-jenkins-scm] [jenkins.debian.net] 01/01: improve FIXME handling

Holger Levsen holger at moszumanska.debian.org
Sun Aug 9 14:56:07 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 8edf2d36ecbfcf5c41fbc78f6ec865596315008e
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Aug 9 16:54:52 2015 +0200

    improve FIXME handling
---
 update_jdn.sh | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index 1697fda..d184265 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -319,6 +319,7 @@ if [ "$HOSTNAME" = "jenkins" ] ; then
 			cp $TMPFILE ${metaconfig%.py}
 		fi
 	done
+	rm -f $TMPFILE
 	for config in *.yaml ; do
 		if [ $config -nt $STAMP ] || [ ! -f $STAMP ] ; then
 			sudo jenkins-jobs update $config
@@ -384,14 +385,17 @@ fi
 # There's always some work left...
 #	echo FIXME is ignored so check-jobs scripts can output templates requiring manual work
 #
-echo
-rgrep FIXME $BASEDIR/* | grep -v "rgrep FIXME" | grep -v echo
+rgrep FIXME $BASEDIR/* | grep -v "rgrep FIXME" | grep -v echo > $TMPFILE
+if [ -s $TMPFILE ] ; then
+	echo
+	cat $TMPFILE
+	echo
+fi
+rm -f $TMPFILE
 
 #
 # finally
 #
 sudo touch $STAMP	# so on the next run, only configs newer than this file will be updated
-rm -f $TMPFILE
 explain "$(date) - finished deployment."
-echo "--------------------------------------------"
 

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