X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fcmake-sonar.sh;h=ccf17d57ba0227f0783b250ae4b0f216284d6cb8;hb=a64dad11c1b5f237ec2fada98e6ab9e9310c150e;hp=43e776f84234c47d67b9e795d69c8e35d4e350f9;hpb=c63e147ab10c5b00b2dfdac6df62ee9ef6dd8442;p=releng%2Fglobal-jjb.git diff --git a/shell/cmake-sonar.sh b/shell/cmake-sonar.sh index 43e776f8..ccf17d57 100644 --- a/shell/cmake-sonar.sh +++ b/shell/cmake-sonar.sh @@ -37,8 +37,10 @@ cd "$build_dir" || exit 1 # shellcheck disable=SC2086 eval cmake -DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX" $cmake_opts .. +# $make_opts may be empty. +# shellcheck disable=SC2086 /opt/build-wrapper/build-wrapper-linux-x86-64 --out-dir "$WORKSPACE/bw-output" \ - make "$make_opts" + make $make_opts /opt/sonar-scanner/bin/sonar-scanner \ -Dsonar.projectKey="${PROJECT_KEY}" \