[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible: only select packages which are scheduled for the arch we are building for
Holger Levsen
holger at moszumanska.debian.org
Sat Aug 8 12:32:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit b742eed1f97de637ba660b7d86229bb17ee23b0c
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Aug 8 14:23:40 2015 +0200
reproducible: only select packages which are scheduled for the arch we are building for
---
bin/reproducible_build.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 4cccab1..09b493d 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -332,7 +332,9 @@ choose_package () {
local RESULT=$(sqlite3 -init $INIT ${PACKAGES_DB} "
SELECT s.suite, s.id, s.name, sch.date_scheduled, sch.save_artifacts, sch.notify, s.notify_maintainer, sch.builder
FROM schedule AS sch JOIN sources AS s ON sch.package_id=s.id
- WHERE sch.date_build_started = '' ORDER BY date_scheduled LIMIT 1")
+ WHERE sch.date_build_started = ''
+ AND s.architecture='$ARCH'
+ ORDER BY date_scheduled LIMIT 1")
SUITE=$(echo $RESULT|cut -d "|" -f1)
SRCPKGID=$(echo $RESULT|cut -d "|" -f2)
SRCPACKAGE=$(echo $RESULT|cut -d "|" -f3)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list