diff options
author | Mattia Rizzolo <mattia@debian.org> | 2015-12-10 09:25:37 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-10 10:26:17 +0100 |
commit | 8e158c1734ef4c873920e7c6b09f50494bdea5f6 (patch) | |
tree | e1d2ae57a42b336fca35c9aa0aa7b2472f46f720 /bin | |
parent | a1ff1f392328f80356983438e3641cc86f63e72c (diff) | |
download | jenkins.debian.net-8e158c1734ef4c873920e7c6b09f50494bdea5f6.tar.xz |
reproducible: blacklist: fix a NOT NULL constraint failure
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_blacklist.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_blacklist.sh b/bin/reproducible_blacklist.sh index 722f29a3..355aa7bc 100755 --- a/bin/reproducible_blacklist.sh +++ b/bin/reproducible_blacklist.sh @@ -17,7 +17,7 @@ blacklist_packages() { VERSION=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT version FROM sources WHERE name='$PKG' AND suite='$SUITE' AND architecture='$ARCH';") PKGID=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT id FROM sources WHERE name='$PKG' AND suite='$SUITE' AND architecture='$ARCH';") cleanup_pkg_files - sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO results (package_id, version, status, build_date) VALUES ('$PKGID', '$VERSION', 'blacklisted', '$DATE');" + sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO results (package_id, version, status, build_date, job) VALUES ('$PKGID', '$VERSION', 'blacklisted', '$DATE', '');" sqlite3 -init $INIT ${PACKAGES_DB} "DELETE FROM schedule WHERE package_id='$PKGID'" done } |