diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-03 01:20:21 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-03 01:20:21 +0100 |
commit | 920c0231a909b71891e78a2823d3055a03360c5c (patch) | |
tree | 1f448a9edd1bb5b3057fe21132a09832a915caa4 /bin | |
parent | 16a1aa50ba4fc781491ebea7f16eb3f0753870bb (diff) | |
download | jenkins.debian.net-920c0231a909b71891e78a2823d3055a03360c5c.tar.xz |
wip
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_graphs.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 57127709..abe24d38 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -69,9 +69,9 @@ if [ -z $RESULT ] ; then # we do 3 later and 6 is special anyway... for i in 0 1 2 4 5 ; do # force regeneration of the image if it exists - # FIXME: 0 needs $SUITE + # FIXME: 0 needs $SUITE, 1 2 4 5 are fine # FIXME: some other queries above need *not* to refer to $SUITE... but rather $SUITES - [ ! -f ${TABLE[$i]}.png ] || touch -d "$DATE 00:00" ${TABLE[$i]}.png + [ ! -f /var/lib/jenkins/userContent/${TABLE[$i]}.png ] || touch -d "$DATE 00:00" /var/lib/jenkins/userContent/${TABLE[$i]}.png done fi @@ -141,7 +141,7 @@ if [ "$SUITE" != "experimental" ] ; then META_RESULT=true gather_meta_stats $i ! $META_RESULT || sqlite3 -init ${INIT} ${PACKAGES_DB} "INSERT INTO ${TABLE[6]} VALUES (\"$DATE\", \"$SUITE\", \"${META_PKGSET[$i]}\", $COUNT_META_GOOD, $COUNT_META_BAD, $COUNT_META_UGLY, $COUNT_META_REST)" - touch -d "$DATE 00:00" $SUITE/${TABLE[6]}_${META_PKGSET[$i]}.png + touch -d "$DATE 00:00" /var/lib/jenkins/userContent/$SUITE/${TABLE[6]}_${META_PKGSET[$i]}.png fi done fi @@ -172,7 +172,7 @@ if [ -z $RESULT ] ; then echo $SQL sqlite3 -init ${INIT} ${PACKAGES_DB} "$SQL" # force regeneration of the image - touch -d "$DATE 00:00" $SUITE/${TABLE[3]}.png + touch -d "$DATE 00:00" /var/lib/jenkins/userContent/${TABLE[3]}.png fi # used for redo_png (but only needed to define once) |