diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-09-28 15:54:29 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-09-28 15:54:29 +0200 |
commit | e470782342229e2a3cc84abe96c447816bb963f5 (patch) | |
tree | d5a385b03376411e8286ff13dcc9063a7207b370 | |
parent | ff990ff3b31094cb9fecd1947d6ce37a8339718a (diff) | |
download | jenkins.debian.net-e470782342229e2a3cc84abe96c447816bb963f5.tar.xz |
reproducible: only preserve bad logfiles
-rwxr-xr-x | bin/reproducible_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index a56a6178..11aa09be 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -110,7 +110,6 @@ for SRCPACKAGE in $PACKAGES ; do LOGFILE=$(ls ${SRCPACKAGE}_*.dsc) LOGFILE=$(echo ${LOGFILE%.dsc}.diffp.log) ./misc.git/diffp b1/${SRCPACKAGE}_*.changes b2/${SRCPACKAGE}_*.changes | tee ./results/${LOGFILE} - cp ./results/${LOGFILE} /var/lib/jenkins/userContent/diffp/ if ! $(grep -qv '^\*\*\*\*\*' ./results/${LOGFILE}) ; then mv ./results/${LOGFILE} ./results/_success/ figlet ${SRCPACKAGE} @@ -121,6 +120,7 @@ for SRCPACKAGE in $PACKAGES ; do GOOD="${SRCPACKAGE} ${GOOD}" touch results/___.dummy.log # not having any bad logs is not a reason for failure else + cp ./results/${LOGFILE} /var/lib/jenkins/userContent/diffp/ echo "Warning: ${SRCPACKAGE} failed to build reproducibly." sqlite3 -init $INIT $PACKAGES_DB "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"unreproducible\", \"$DATE\", \"\")" let "COUNT_BAD=COUNT_BAD+1" |