summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate_jdn.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 6b2ca26f..a2e1e80e 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -739,9 +739,11 @@ case $HOSTNAME in
sudo date --set="+398 days +6 hours + 23 minutes"
;;
jenkins)
- # notify irc
- MESSAGE="jenkins.d.n updated to $(cd $BASEDIR ; git describe --always)."
- kgb-client --conf /srv/jenkins/kgb/debian-qa.conf --relay-msg "$MESSAGE"
+ # notify irc on updates of jenkins.d.n
+ if ! $UP2DATE ; then
+ MESSAGE="jenkins.d.n updated to $(cd $BASEDIR ; git describe --always)."
+ kgb-client --conf /srv/jenkins/kgb/debian-qa.conf --relay-msg "$MESSAGE"
+ fi
;;
*) ;;
esac