From 47ba974ca394a7351bbbc3f7797b3019506228b9 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 5 Oct 2014 21:29:32 +0200 Subject: reproducible: fix navi and include build date in frames --- bin/reproducible_stats.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh index 2fb0433e..60c1ec2f 100755 --- a/bin/reproducible_stats.sh +++ b/bin/reproducible_stats.sh @@ -62,6 +62,8 @@ init_navi_frame() { NAVI="/var/lib/jenkins/userContent/rb-pkg/$1_navigation.html" echo "

" > $NAVI echo "$1: " >> $NAVI + BUILD_DATE=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT build_date FROM source_packages WHERE name = \"$PKG\"") + echo "($BUILD_DATE) " } append2navi_frame() { @@ -84,24 +86,24 @@ link_packages() { MAINLINK="" init_navi_frame "$PKG" if [ -f "/var/lib/jenkins/userContent/buildinfo/${PKG}_${EVERSION}_amd64.buildinfo" ] ; then - append2navi_frame " buildinfo " + append2navi_frame " buildinfo " MAINLINK="$JENKINS_URL/userContent/buildinfo/${PKG}_${EVERSION}_amd64.buildinfo" fi if [ -f "/var/lib/jenkins/userContent/dbd/${PKG}_${EVERSION}.debbindiff.html" ] ; then - append2navi_frame " debbindiff " + append2navi_frame " debbindiff " MAINLINK="$JENKINS_URL/userContent/dbd/${PKG}_${EVERSION}.debbindiff.html" elif [ -f "/var/lib/jenkins/userContent/dbd/${PKG}_${EVERSION}.diffp.log" ] ; then - append2navi_frame " diffp " + append2navi_frame " diffp " MAINLINK="$JENKINS_URL/userContent/dbd/${PKG}_${EVERSION}.diffp.log" fi if [ -f "/var/lib/jenkins/userContent/rbuild/${PKG}_${EVERSION}.rbuild.log" ] ; then - append2navi_frame " rbuild " + append2navi_frame " rbuild " if [ "$MAINLINK" = "" ] ; then MAINLINK="$JENKINS_URL/userContent/rbuild/${PKG}_${EVERSION}.rbuild.log" fi fi if [ -f "/var/lib/jenkins/userContent/pbuilder/${PKG}_${EVERSION}.pbuilder.log" ] ; then - append2navi_frame " pbuilder " + append2navi_frame " pbuilder " if [ "$MAINLINK" = "" ] ; then MAINLINK="$JENKINS_URL/userContent/pbuilder/${PKG}_${EVERSION}.pbuilder.log" fi -- cgit v1.2.3-70-g09d2