summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-06-20 23:20:07 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-20 23:20:07 +0200
commit32b72d21851759777a32eafa36aeafb44115986d (patch)
tree348c7178dcbab112a52e580dc113344fa05e6b7f
parent3bf7592b82a0589d71c9f368a46747273f4105ab (diff)
downloadjenkins.debian.net-32b72d21851759777a32eafa36aeafb44115986d.tar.xz
improve final message and comments
-rwxr-xr-xupdate_jdn.sh7
1 files 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"
;;
*) ;;