diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-13 16:23:20 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-13 16:23:20 +0200 |
commit | 25de9e3495c1180993b32c7fb2d41e8ee6548cc7 (patch) | |
tree | f24694e5ab839b0b575b2e252446ee8bd6fb7b6d | |
parent | 8b78d1891561b5c89309aa4c66933442295a10e6 (diff) | |
download | jenkins.debian.net-25de9e3495c1180993b32c7fb2d41e8ee6548cc7.tar.xz |
reproducible: improve clearness about debbindiff results
-rwxr-xr-x | bin/reproducible_build.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index a546214d..6171a59d 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -133,11 +133,12 @@ else if [ $RESULT -eq 124 ] ; then echo "$(date) - debbindiff.py was killed after running into timeouot..." | tee -a ${RBUILDLOG} elif [ $RESULT -eq 1 ] ; then - echo "$(date) - debbindiff.py crashed..." | tee -a ${RBUILDLOG} + echo "$(date) - debbindiff.py found issues, please investigate $JENKINS_URL/userContent/dbd/${SRCPACKAGE}_${VERSION}.html" | tee -a ${RBUILDLOG} fi if [ ! -f ./${LOGFILE} ] && [ -f b1/${BUILDINFO} ] ; then cp b1/${BUILDINFO} /var/lib/jenkins/userContent/buildinfo/ figlet ${SRCPACKAGE} + echo "debbindiff.py found no differences in the changes files, and a .buildinfo file also exist." | tee -a ${RBUILDLOG} echo echo "${SRCPACKAGE} built successfully and reproducibly." sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"reproducible\", \"$DATE\")" @@ -156,11 +157,11 @@ else sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"unreproducible\", \"$DATE\")" unschedule_from_db set +x - echo -n "${SRCPACKAGE} failed to build reproducibly." + echo -n "${SRCPACKAGE} failed to build reproducibly" | tee -a ${RBUILDLOG} if [ ! -f b1/${BUILDINFO} ] ; then - echo " .buildinfo file is missing." + echo "and a .buildinfo file is missing too." | tee -a ${RBUILDLOG} else - echo + echo "." | tee -a ${RBUILDLOG} fi fi else |