summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate_jdn.sh12
1 files changed, 8 insertions, 4 deletions
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 "--------------------------------------------"