Unverified Commit 32b72d21 authored by Holger Levsen's avatar Holger Levsen
Browse files

improve final message and comments

parent 3bf7592b
...@@ -590,18 +590,19 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ; then ...@@ -590,18 +590,19 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
fi fi
# #
# finally # almost finally
# #
sudo touch $STAMP # so on the next run, only configs newer than this file will be updated sudo touch $STAMP # so on the next run, only configs newer than this file will be updated
explain "$(date) - finished deployment." explain "$(date) - finished deployment."
# set time back to the future # finally!
case $HOSTNAME in case $HOSTNAME in
# set time back to the future
profitbricks-build4-amd64|profitbricks-build5-amd64|profitbricks-build6-i386) profitbricks-build4-amd64|profitbricks-build5-amd64|profitbricks-build6-i386)
sudo date --set="+398 days +6 hours + 23 minutes" sudo date --set="+398 days +6 hours + 23 minutes"
;; ;;
jenkins) 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" kgb-client --conf /srv/jenkins/kgb/debian-qa.conf --relay-msg "$MESSAGE"
;; ;;
*) ;; *) ;;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment