diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-01-07 10:10:21 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-01-07 10:10:21 +0100 |
commit | b2d3a7726302541c3d60f26501f6d7c8ffa8882c (patch) | |
tree | 8403d61de78c95f8dbb6f7e8232bfda8d7419c9d /bin | |
parent | 394e081cfd7b6b0b2fbfffd621dc68e78a2336b0 (diff) | |
download | jenkins.debian.net-b2d3a7726302541c3d60f26501f6d7c8ffa8882c.tar.xz |
reproducible Debian: improve stale-builds.log
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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 |