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 <thanh.ha@linuxfoundation.org>
- 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: