[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: compress output

Holger Levsen holger at layer-acht.org
Thu Feb 23 14:00:02 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 ed84df970029aea58953aebb41fb60c7f9dfab07
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Feb 23 14:59:55 2017 +0100

    reproducible Debian: compress output
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_html_dashboard.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index c4f8d36..aac0c81 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -305,7 +305,7 @@ _average_builds_per_day() {
 		if [ $DAY_DIFFS -ge $MIN_DAYS ]; then
 			if [ $DAY_DIFFS -lt $TIMESPAN ]; then
 				# this is a new architecture, there are fewer days to compare to.
-				DISCLAIMER=" <span style=\"font-size: 0.8em;\">(in the last $DAY_DIFFS days)</span>"
+				DISCLAIMER=" <span style=\"font-size: 0.8em;\">(last $DAY_DIFFS days)</span>"
 				TIMESPAN=$DAY_DIFFS
 			fi
 			# find stats for since the day before $TIMESPAN_RAW days ago,
@@ -349,7 +349,7 @@ write_build_performance_stats() {
 		RESULT=$(query_db "SELECT COALESCE(CAST(AVG(r.build_duration) AS INTEGER), 0) FROM results AS r JOIN sources AS s ON r.package_id=s.id WHERE r.build_duration!='0' AND r.build_date LIKE '%$DATE%' AND s.architecture='$ARCH'")
 		MIN=$(echo $RESULT/60|bc)
 		SEC=$(echo "$RESULT-($MIN*60)"|bc)
-		write_page "<td>$MIN minutes, $SEC seconds</td>"
+		write_page "<td>$MIN min., $SEC sec.</td>"
 	done
 
 	local TIMESPAN_VERBOSE="4 weeks"
@@ -364,7 +364,7 @@ write_build_performance_stats() {
 		RESULT=$(query_db "SELECT COALESCE(CAST(AVG(r.build_duration) AS INTEGER), 0) FROM results AS r JOIN sources AS s ON r.package_id=s.id WHERE r.build_duration!='0' AND r.build_date > '$TIMESPAN_DATE' AND s.architecture='$ARCH'")
 		MIN=$(echo $RESULT/60|bc)
 		SEC=$(echo "$RESULT-($MIN*60)"|bc)
-		write_page "<td>$MIN minutes, $SEC seconds</td>"
+		write_page "<td>$MIN min., $SEC sec.</td>"
 	done
 
 	write_page "</tr><tr><td class=\"left\">packages tested on $DATE</td>"

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