[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: improve output
Holger Levsen
holger at layer-acht.org
Fri Jun 2 10:43:00 UTC 2017
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 5a0b721c51ddd065e50ae3c573677c37d91c196e
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Jun 2 12:42:52 2017 +0200
reproducible Debian: improve output
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
init_node | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/init_node b/init_node
index 5361e97..7878195 100755
--- a/init_node
+++ b/init_node
@@ -22,7 +22,7 @@ START=$(date +'%s')
GIT_REPO="git://anonscm.debian.org/qa/jenkins.debian.net.git"
echo
-echo -n "$(date) - "
+echo "$(date -u)"
set -e
export LANG=C
set -x
@@ -45,6 +45,6 @@ DURATION=$(( $END - $START ))
HOUR=$(echo "$DURATION/3600"|bc)
MIN=$(echo "($DURATION-$HOUR*3600)/60"|bc)
SEC=$(echo "$DURATION-$HOUR*3600-$MIN*60"|bc)
-echo "$(date) - total duration: ${HOUR}h ${MIN}m ${SEC}s."
+echo "$(date -u) - total duration: ${HOUR}h ${MIN}m ${SEC}s."
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