[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible: _build: also empty the builder field from the db when cleaning up stale builds
    Holger Levsen 
    holger at moszumanska.debian.org
       
    Thu Sep 24 12:50:41 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 903299b436ed880da45525fc3ef69d2f44b08003
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Thu Sep 24 07:50:07 2015 +0000
    reproducible: _build: also empty the builder field from the db when cleaning up stale builds
---
 bin/reproducible_build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index b2dbead..ff3c177 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -428,7 +428,7 @@ init_package_build() {
 		# stale_builds.txt is mailed once a day by reproducible_maintenance.sh
 		echo "$(date -u) - stale builds found, cleaning db from these:" | tee -a /var/lib/jenkins/stale_builds.txt
 		cat $BAD_BUILDS | tee -a /var/lib/jenkins/stale_builds.txt
-		sqlite3 -init $INIT ${PACKAGES_DB} "UPDATE schedule SET date_build_started='' WHERE builder LIKE '${BUILDER_PREFIX}%'"
+		sqlite3 -init $INIT ${PACKAGES_DB} "UPDATE schedule SET date_build_started='', builder='' WHERE builder LIKE '${BUILDER_PREFIX}%'"
 		echo >> /var/lib/jenkins/stale_builds.txt
 	fi
 	rm -f $BAD_BUILDS
-- 
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