From: Thanh Ha Date: Fri, 9 Jun 2017 22:03:27 +0000 (-0400) Subject: Set wget to quiet mode to hide Maven DL output X-Git-Tag: v0.3.0~2^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;ds=sidebyside;h=25d43b241afb7cd6d9c64ec6881a5a8b8ced9f34;p=releng%2Fglobal-jjb.git Set wget to quiet mode to hide Maven DL output When Jenkins installs Maven it uses wget to download. We're not interested in the download progress output so create a .wgetrc in order to hide it and remove the file after download is complete. Change-Id: I15e56c7a06b39a0c1fe3d7be72b381559585543c Signed-off-by: Thanh Ha --- diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 310df5d7..6191dca5 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -50,9 +50,12 @@ - builder: name: lf-maven-install builders: + # Create a $HOME/.wgetrc to make the Maven download quiet. + - shell: 'echo "quiet=on" > "$HOME/.wgetrc"' - maven-target: maven-version: '{maven-version}' goals: '--version' + - shell: 'rm "$HOME/.wgetrc"' # Push a global settings and user settings maven files - builder: