diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-12 00:25:06 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-12 00:25:06 +0100 |
commit | ea442dad2f1730859b28398c8a225d2591bc2807 (patch) | |
tree | 6dd72a9caffa5e24e9c3c268f40ad97d70504283 | |
parent | e34b5e99bc601e6ffa9ae7f1b6c3ca2c9d0bc1d6 (diff) | |
download | jenkins.debian.net-ea442dad2f1730859b28398c8a225d2591bc2807.tar.xz |
only point out FIXMEs when deploying on jenkins
-rwxr-xr-x | update_jdn.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/update_jdn.sh b/update_jdn.sh index 3e05f400..91151788 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -512,13 +512,15 @@ fi # There's always some work left... # echo FIXME is ignored so check-jobs scripts can output templates requiring manual work # -rgrep FI[X]ME $BASEDIR/* | grep -v echo > $TMPFILE || true -if [ -s $TMPFILE ] ; then - echo - cat $TMPFILE - echo +if [ "$HOSTNAME" = "jenkins" ] ; then + rgrep FI[X]ME $BASEDIR/* | grep -v echo > $TMPFILE || true + if [ -s $TMPFILE ] ; then + echo + cat $TMPFILE + echo + fi + rm -f $TMPFILE fi -rm -f $TMPFILE # # finally |