From 8edf2d36ecbfcf5c41fbc78f6ec865596315008e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 9 Aug 2015 16:54:52 +0200 Subject: improve FIXME handling --- update_jdn.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'update_jdn.sh') diff --git a/update_jdn.sh b/update_jdn.sh index 1697fdaf..d1842657 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 "--------------------------------------------" -- cgit v1.2.3-70-g09d2