From 32b72d21851759777a32eafa36aeafb44115986d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 20 Jun 2016 23:20:07 +0200 Subject: improve final message and comments --- update_jdn.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/update_jdn.sh b/update_jdn.sh index 6d91bcec..e312909a 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -590,18 +590,19 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ; then fi # -# finally +# almost finally… # sudo touch $STAMP # so on the next run, only configs newer than this file will be updated explain "$(date) - finished deployment." -# set time back to the future +# finally! case $HOSTNAME in + # set time back to the future profitbricks-build4-amd64|profitbricks-build5-amd64|profitbricks-build6-i386) sudo date --set="+398 days +6 hours + 23 minutes" ;; jenkins) - MESSAGE="jenkins updated to $(cd $BASEDIR ; git describe --always)." + MESSAGE="jenkins.d.n updated to $(cd $BASEDIR ; git describe --always)." kgb-client --conf /srv/jenkins/kgb/debian-qa.conf --relay-msg "$MESSAGE" ;; *) ;; -- cgit v1.2.3-70-g09d2