From f9da60fda1b9c5f026124d6143e70cb27f624f4a Mon Sep 17 00:00:00 2001 From: Mihai Tudor Panu Date: Fri, 29 May 2020 12:54:17 -0700 Subject: [PATCH] sonar-scan: disable preview mode for internal PR No longer supported by sonar scans, the preview feature is now disabled and internal PRs from project contributors are also scanned for vulnerabilities/bugs as part of CI Signed-off-by: Mihai Tudor Panu --- scripts/sonar-scan.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/sonar-scan.sh b/scripts/sonar-scan.sh index aff5bb8..4fac147 100755 --- a/scripts/sonar-scan.sh +++ b/scripts/sonar-scan.sh @@ -77,7 +77,6 @@ elif [ "${TRAVIS_PULL_REQUEST}" != "false" -a "${TRAVIS_PULL_REQUEST_SLUG}" == " echo "Performing internal pull request scan" sonar_cmd="${sonar_cmd_base} \ - -Dsonar.analysis.mode=preview \ -Dsonar.github.pullRequest=${TRAVIS_PULL_REQUEST} \ -Dsonar.github.repository=${TRAVIS_REPO_SLUG} \ -Dsonar.github.oauth=${GITHUB_TOKEN} \