From 3c02d366a35c0cdb0845c6fdc9f0c5ab952ed6d4 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Mon, 23 Jan 2017 09:57:09 -0500 Subject: [PATCH] Reduce verbosity of shiplogs The end of a build there's a lot of download details from wget. This patch aims to reduce that unnecessary verbosity. We will still get error messages / success messages just not the download status of wget. Change-Id: I10b9cffc6b74abc6fe2dd7f90924498b9f99197f Signed-off-by: Thanh Ha --- include-raw-deploy-archives.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include-raw-deploy-archives.sh b/include-raw-deploy-archives.sh index ac955ef6..9f3ad48b 100644 --- a/include-raw-deploy-archives.sh +++ b/include-raw-deploy-archives.sh @@ -1,6 +1,9 @@ #!/bin/bash set +e # Do not affect the build result if some part of archiving fails. +# Configure wget to not print download status when we download logs or when +# Jenkins is installing Maven. +echo "verbose=off" > ~/.wgetrc ARCHIVES_DIR="$JENKINS_HOSTNAME/$JOB_NAME/$BUILD_NUMBER" [ "$LOGS_SERVER" ] || LOGS_SERVER="https://logs.opendaylight.org" -- 2.16.6