Reduce verbosity of shiplogs 73/4073/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 23 Jan 2017 14:57:09 +0000 (09:57 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 4 Mar 2017 19:24:29 +0000 (14:24 -0500)
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 <thanh.ha@linuxfoundation.org>
include-raw-deploy-archives.sh

index ac955ef..9f3ad48 100644 (file)
@@ -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"