diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-10 19:26:31 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-10 19:26:31 +0200 |
commit | 8b019f24b09f9594c9e63e9cf6d6471a60702136 (patch) | |
tree | a6f9b6b330a36c9830febd13b1675f50702289dd | |
parent | f411e67edd2803b8f5bafe111d326a3a9d71eba5 (diff) | |
download | jenkins.debian.net-8b019f24b09f9594c9e63e9cf6d6471a60702136.tar.xz |
fixup SQL in f411e67e: reproducible: build: requeue a package for building in case of outdated builder and exit cleanly
-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 3453d319..7d494e47 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -599,7 +599,7 @@ build_rebuild() { if [ ! -f b1/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes ] && [ -f b1/${SRCPACKAGE}_*_${ARCH}.changes ] ; then echo "Version mismatch between main node (${SRCPACKAGE}_${EVERSION}_${ARCH}.dsc expected) and first build node ($(ls b1/*dsc)) for $SUITE/$ARCH, aborting. Please upgrade the schroots..." | tee -a ${RBUILDLOG} # reschedule the package for later and quit the build without saving anything - sqlite3 -init $INIT ${PACKAGES_DB} "UPDATE schedule SET date_build_started='' builder='' date_scheduled='$(date -u)' WHERE package_id='$SRCPKGID'" + sqlite3 -init $INIT ${PACKAGES_DB} "UPDATE schedule SET date_build_started='', builder='', date_scheduled='$(date +'%Y-%m-%d %H:%M')' WHERE package_id='$SRCPKGID'" NOTIFY="" exit 0 elif [ -f b1/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes ] ; then |