diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-07 14:56:19 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-07 14:56:19 +0200 |
commit | d0004a0b0d170853cea4691cd5438943dbfdd527 (patch) | |
tree | fb55c558238fcb279508d6530766866f7006b63a | |
parent | de0fdbd1e72a4d4a082483cc38444403006ef3bf (diff) | |
download | jenkins.debian.net-d0004a0b0d170853cea4691cd5438943dbfdd527.tar.xz |
reproducible: drop .diffp* file handling
-rwxr-xr-x | bin/reproducible_build.sh | 2 | ||||
-rwxr-xr-x | bin/reproducible_stats.sh | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index e8e86d26..8bb0c198 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -90,8 +90,6 @@ cleanup_all() { } cleanup_userContent() { - # FIXME: remove unused code once all diffp.log files are gone - rm -f /var/lib/jenkins/userContent/dbd/${SRCPACKAGE}_*.diffp.log > /dev/null 2>&1 rm -f /var/lib/jenkins/userContent/dbd/${SRCPACKAGE}_*.debbindiff.html > /dev/null 2>&1 rm -f /var/lib/jenkins/userContent/buildinfo/${SRCPACKAGE}_*.buildinfo > /dev/null 2>&1 } diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh index 35efbe86..67f3b845 100755 --- a/bin/reproducible_stats.sh +++ b/bin/reproducible_stats.sh @@ -83,8 +83,7 @@ link_packages() { VERSION=$(echo $RESULT|cut -d "|" -f2) # remove epoch EVERSION=$(echo $VERSION | cut -d ":" -f2) - # FIXME: remove unused code once all diffp.log files are gone - if [ -f "/var/lib/jenkins/userContent/dbd/${PKG}_${EVERSION}.debbindiff.html" ] || [ -f "/var/lib/jenkins/userContent/dbd/${PKG}_${EVERSION}.diffp.log" ] || [ -f "/var/lib/jenkins/userContent/buildinfo/${PKG}_${EVERSION}_amd64.buildinfo" ] || [ -f "/var/lib/jenkins/userContent/rbuild/${PKG}_${EVERSION}.rbuild.log" ]; then + if [ -f "/var/lib/jenkins/userContent/dbd/${PKG}_${EVERSION}.debbindiff.html" ] || [ -f "/var/lib/jenkins/userContent/buildinfo/${PKG}_${EVERSION}_amd64.buildinfo" ] || [ -f "/var/lib/jenkins/userContent/rbuild/${PKG}_${EVERSION}.rbuild.log" ]; then STAR="" MAINLINK="" init_navi_frame "$PKG" "$VERSION" "$BUILD_DATE" @@ -97,9 +96,6 @@ link_packages() { if [ -f "/var/lib/jenkins/userContent/dbd/${PKG}_${EVERSION}.debbindiff.html" ] ; then append2navi_frame " <a href=\"$JENKINS_URL/userContent/dbd/${PKG}_${EVERSION}.debbindiff.html\" target=\"main\">debbindiff</a> " MAINLINK="$JENKINS_URL/userContent/dbd/${PKG}_${EVERSION}.debbindiff.html" - elif [ -f "/var/lib/jenkins/userContent/dbd/${PKG}_${EVERSION}.diffp.log" ] ; then - append2navi_frame " <a href=\"$JENKINS_URL/userContent/dbd/${PKG}_${EVERSION}.diffp.log\" target=\"main\">diffp</a> " - MAINLINK="$JENKINS_URL/userContent/dbd/${PKG}_${EVERSION}.diffp.log" fi if [ -f "/var/lib/jenkins/userContent/rbuild/${PKG}_${EVERSION}.rbuild.log" ] ; then append2navi_frame " <a href=\"$JENKINS_URL/userContent/rbuild/${PKG}_${EVERSION}.rbuild.log\" target=\"main\">rbuild</a> " |