diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-09 16:54:52 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-09 16:54:52 +0200 |
commit | 8edf2d36ecbfcf5c41fbc78f6ec865596315008e (patch) | |
tree | 7aab75beaca162d26d465d70ca08c70095691796 | |
parent | 7eafec6d9f22e92f0546841e0350730088b54b7c (diff) | |
download | jenkins.debian.net-8edf2d36ecbfcf5c41fbc78f6ec865596315008e.tar.xz |
improve FIXME handling
-rwxr-xr-x | update_jdn.sh | 12 |
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 "--------------------------------------------" |