[Qa-jenkins-scm] [jenkins.debian.net] 03/03: improve output when run in a loop

Holger Levsen holger at moszumanska.debian.org
Sun Aug 9 14:40:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 7eafec6d9f22e92f0546841e0350730088b54b7c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Aug 9 16:39:12 2015 +0200

    improve output when run in a loop
---
 update_jdn.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index fc36f53..1697fda 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -10,10 +10,10 @@ STAMP=/var/log/jenkins/update-jenkins.stamp
 TMPFILE=$(mktemp)
 
 explain() {
-	echo
 	echo "$HOSTNAME: $1"
 }
 
+echo "--------------------------------------------"
 explain "$(date) - begin deployment update."
 #
 # set up users and groups
@@ -393,3 +393,5 @@ rgrep FIXME $BASEDIR/* | grep -v "rgrep FIXME" | grep -v echo
 sudo touch $STAMP	# so on the next run, only configs newer than this file will be updated
 rm -f $TMPFILE
 explain "$(date) - finished deployment."
+echo "--------------------------------------------"
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list