From b2d3a7726302541c3d60f26501f6d7c8ffa8882c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 7 Jan 2017 10:10:21 +0100 Subject: reproducible Debian: improve stale-builds.log Signed-off-by: Holger Levsen --- bin/reproducible_build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 0be8f7e1..43b36ee2 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -466,10 +466,9 @@ choose_package() { if [ -s "$BAD_BUILDS" ] ; then local STALELOG=/var/log/jenkins/reproducible-stale-builds.log # reproducible-stale-builds.log is mailed once a day by reproducible_maintenance.sh - echo "$(date -u) - stale builds found, cleaning db from these:" | tee -a $STALELOG + echo -n "$(date -u) - stale builds found, cleaning db from these: " | tee -a $STALELOG cat $BAD_BUILDS | tee -a $STALELOG query_db "UPDATE schedule SET date_build_started = NULL, job = NULL WHERE job LIKE '${JOB_PREFIX}%'" - echo >> $STALELOG fi rm -f $BAD_BUILDS # mark build attempt, first test if none else marked a build attempt recently -- cgit v1.2.3-70-g09d2