From: Thanh Ha Date: Mon, 23 Jan 2017 14:57:09 +0000 (-0500) Subject: Reduce verbosity of shiplogs X-Git-Tag: v0.0.6~9 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F4073%2F1;p=releng%2Flftools.git 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 --- 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"