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>
#!/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"