[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: improve job output

Holger Levsen holger at moszumanska.debian.org
Wed Nov 11 14:43:57 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 4111718032b2c030c8c959f4ece2b2b45449bb29
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Nov 11 15:43:54 2015 +0100

    reproducible: improve job output
---
 bin/reproducible_html_repository_comparison.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index 055eb06..2de8ab0 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -30,10 +30,10 @@ write_row() {
 }
 
 custom_curl() {
-	echo "$(date -u) - downloading $1 to $2"
+	echo -n "$(date -u) - downloading $1 to $2 - "
 	curl -s $1 > $2
 	local SIZE=$(ls -la $2 |cut -d " " -f5)
-	echo "$(date -u) - downloaded $SIZE bytes."
+	echo "$SIZE bytes."
 }
 
 ARCH="amd64"
@@ -228,8 +228,8 @@ for PKG in $SOURCEPKGS ; do
 	write_row " <td>$CSID</td>"
 	write_row " <td>$CEXP</td>"
 	write_row "</tr>"
-	echo "$(date -u ) - TABLE_TODO: $(ls -la $TABLE_TODO)"
-	echo "$(date -u ) - TABLE_DONE: $(ls -la $TABLE_DONE)"
+	echo "TABLE_TODO: $(ls -la $TABLE_TODO|cut -d " " -f5) bytes"
+	echo "TABLE_DONE: $(ls -la $TABLE_DONE|cut -d " " -f5) bytes"
 done
 cat $TABLE_TODO >> $PAGE
 write_page "</table></p>"

-- 
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