From 2db6f29e848ba0381d4ebf933c7b04c02971f8ba Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 29 Oct 2014 13:17:02 +0100 Subject: really silence it --- bin/abort.sh | 7 +++++++ bin/reproducible_housekeeping.sh | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 bin/abort.sh (limited to 'bin') diff --git a/bin/abort.sh b/bin/abort.sh new file mode 100644 index 00000000..81b554af --- /dev/null +++ b/bin/abort.sh @@ -0,0 +1,7 @@ + +TMPFILE=$(mktemp) +curl https://jenkins.debian.net/jnlpJars/jenkins-cli.jar -o $TMPFILE +java -jar $TMPFILE -s http://localhost:8080/ set-build-result aborted +rm $TMPFILE +exit + diff --git a/bin/reproducible_housekeeping.sh b/bin/reproducible_housekeeping.sh index 7908909f..3086040a 100755 --- a/bin/reproducible_housekeeping.sh +++ b/bin/reproducible_housekeeping.sh @@ -83,8 +83,8 @@ QUERY=" ORDER BY date_scheduled " PACKAGES=$(mktemp) -sqlite3 -init $INIT ${PACKAGES_DB} "$QUERY" > $PACKAGES || echo "Warning: SQL query '$QUERY' failed." -if [ -s $PACKAGES ] ; then +sqlite3 -init $INIT ${PACKAGES_DB} "$QUERY" > $PACKAGES 2> /dev/null || echo "Warning: SQL query '$QUERY' failed." +if grep -q '|' $PACKAGES ; then echo echo "Warning: packages found where the build was started more than 24h ago:" echo "name|date_scheduled|date_build_started" -- cgit v1.2.3-70-g09d2