Reduce volume of output from wget and unzip by adding the -q flag to
the invocations in cmake-sonar.sh There's little need to see wget
progress messages or archive contents in the build log.
Change-Id: Iaaaa4071e17b6ef42c85409e8df3653df1f42252
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
--- /dev/null
+---
+fixes:
+ - |
+ Reduce volume of output from wget and unzip by adding the -q flag
+ to the invocations in cmake-sonar.sh There's little need to see
+ wget progress messages or archive contents in the build log.
set -ex -o pipefail
cd /tmp || exit 1
-wget -O /tmp/sonar-scan.zip \
+wget -q -O /tmp/sonar-scan.zip \
"https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip"
-unzip sonar-scan.zip
+unzip -q sonar-scan.zip
sudo mv sonar-scanner-* /opt/sonar-scanner
-wget -O /tmp/bw.zip \
+wget -q -O /tmp/bw.zip \
"https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip"
-unzip bw.zip
+unzip -q bw.zip
sudo mv build-wrapper-* /opt/build-wrapper
mkdir -p "$build_dir"