[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: more force+debug to get graphs to be regenerated each midnight

Holger Levsen holger at moszumanska.debian.org
Fri Dec 11 22:02:35 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 eb82f85d470c44a9763700c8d570dd328cc1cdfa
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 11 22:58:38 2015 +0100

    reproducible: more force+debug to get graphs to be regenerated each midnight
---
 bin/reproducible_html_dashboard.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index 490bd5b..008a55a 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -388,7 +388,8 @@ create_suite_arch_stats_page() {
 	write_page " <a href=\"/$SUITE/$ARCH/${TABLE[0]}.png\"><img src=\"/$SUITE/$ARCH/${TABLE[0]}.png\" alt=\"${MAINLABEL[0]}\"></a>"
 	for i in 0 2 ; do
 		# recreate png once a day
-		if [ ! -f $BASE/$SUITE/$ARCH/${TABLE[$i]}.png ] || [ $DUMMY_FILE -ot $BASE/$SUITE/$ARCH/${TABLE[$i]}.png ] ; then
+		if [ ! -f $BASE/$SUITE/$ARCH/${TABLE[$i]}.png ] || [ $DUMMY_FILE -nt $BASE/$SUITE/$ARCH/${TABLE[$i]}.png ] ; then
+			echo "debug1 $ARCH $SUITE/$ARCH/${TABLE[$i]}.png"
 			create_png_from_table $i $SUITE/$ARCH/${TABLE[$i]}.png
 		fi
 	done
@@ -463,7 +464,8 @@ create_dashboard_page() {
 	for i in 8 9 3 7 4 5 ; do
 		write_page " <a href=\"/${TABLE[$i]}.png\"><img src=\"/${TABLE[$i]}.png\" class="halfview" alt=\"${MAINLABEL[$i]}\"></a>"
 		# redo pngs once a day
-		if [ ! -f $BASE/${TABLE[$i]}.png ] || [ $DUMMY_FILE -ot $BASE/${TABLE[$i]}.png ] ; then
+		if [ ! -f $BASE/${TABLE[$i]}.png ] || [ $DUMMY_FILE -nt $BASE/${TABLE[$i]}.png ] ; then
+			echo "debug2 $ARCH ${TABLE[$i]}.png"
 			create_png_from_table $i ${TABLE[$i]}.png
 		fi
 	done
@@ -475,7 +477,8 @@ create_dashboard_page() {
 	write_page " <a href=\"/${TABLE[1]}_$ARCH.png\"><img src=\"/${TABLE[1]}_$ARCH.png\" alt=\"${MAINLABEL[$i]}\"></a>"
 	# redo arch specific pngs once a day
 	for ARCH in ${ARCHS} ; do
-		if [ ! -f $BASE/${TABLE[1]}_$ARCH.png ] || [ $DUMMY_FILE -ot $BASE/${TABLE[1]}_$ARCH.png ] ; then
+		if [ ! -f $BASE/${TABLE[1]}_$ARCH.png ] || [ $DUMMY_FILE -nt $BASE/${TABLE[1]}_$ARCH.png ] ; then
+				echo "debug3 $ARCH ${TABLE[1]}_$ARCH.png"
 				create_png_from_table 1 ${TABLE[1]}_$ARCH.png
 		fi
 	done

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