X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fcmake-sonar.sh;h=0a41a95a51df99cc2aaf1a600475242a31b8d527;hb=e50da79e348b4302edf4f2cc2ed4842830f9cc54;hp=cd7ee71561cba183b54ede71ab6f40f60c0d28fc;hpb=2b811ee74f223040ff6071969566de72aed71b2a;p=releng%2Fglobal-jjb.git diff --git a/shell/cmake-sonar.sh b/shell/cmake-sonar.sh index cd7ee715..0a41a95a 100644 --- a/shell/cmake-sonar.sh +++ b/shell/cmake-sonar.sh @@ -38,12 +38,12 @@ cd "$build_dir" || exit 1 eval cmake -DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX" $cmake_opts .. /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} \ - -Dsonar.organization=${PROJECT_ORGANIZATION} \ + -Dsonar.projectKey="${PROJECT_KEY}" \ + -Dsonar.organization="${PROJECT_ORGANIZATION}" \ -Dsonar.sources=. \ -Dsonar.cfamily.build-wrapper-output="$WORKSPACE/bw-output" \ - -Dsonar.host.url=${SONAR_HOST_URL} \ - -Dsonar.login=${API_TOKEN} + -Dsonar.host.url="${SONAR_HOST_URL}" \ + -Dsonar.login="${API_TOKEN}"