summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-08-01 13:28:22 +0000
committerHolger Levsen <holger@layer-acht.org>2015-08-01 16:10:59 +0200
commit8654be99250d36fd3b8f83e2e547da7c3e4d5436 (patch)
tree4828bd1910a4f5ba292f50a2ae44cfea0b7eb4bb
parente8868c0649bf6c6378a5b13003ca487856e4be4f (diff)
downloadjenkins.debian.net-8654be99250d36fd3b8f83e2e547da7c3e4d5436.tar.xz
reproducible: maintenance: auto-rescheduled depwait problems due to network failures
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 72e00cdd..49ef8ece 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -83,7 +83,7 @@ if [ ! -z "$FAILED_BUILDS" ] ; then
# double check those builds actually failed
TO_SCHEDULE=""
for pkg in $CANDIDATES ; do
- QUERY="SELECT s.name FROM sources AS s JOIN results AS r ON r.package_id=s.id WHERE s.suite='$SUITE' AND r.status='FTBFS' AND s.name='$pkg'"
+ QUERY="SELECT s.name FROM sources AS s JOIN results AS r ON r.package_id=s.id WHERE s.suite='$SUITE' AND (r.status='FTBFS' OR r.status='depwait') AND s.name='$pkg'"
TO_SCHEDULE=${TO_SCHEDULE:+"$TO_SCHEDULE "}$(sqlite3 -init $INIT $PACKAGES_DB "$QUERY")
done
schedule_packages $TO_SCHEDULE