Skip to content

Commit f9da60f

Browse files
committed
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 <[email protected]>
1 parent 85d6279 commit f9da60f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/sonar-scan.sh

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ elif [ "${TRAVIS_PULL_REQUEST}" != "false" -a "${TRAVIS_PULL_REQUEST_SLUG}" == "
7777

7878
echo "Performing internal pull request scan"
7979
sonar_cmd="${sonar_cmd_base} \
80-
-Dsonar.analysis.mode=preview \
8180
-Dsonar.github.pullRequest=${TRAVIS_PULL_REQUEST} \
8281
-Dsonar.github.repository=${TRAVIS_REPO_SLUG} \
8382
-Dsonar.github.oauth=${GITHUB_TOKEN} \

0 commit comments

Comments
 (0)