We are trying to run a sonarcloud check on a project on bitbucket. The could get it running (so it starts), but then it just fails, when analyzing the first file (T-SQL). Unfortunately we don’t see any hint regarding for it to fail. It just said that it is killed. Is it because of memory limits put on the bitbucket cloud setup? We have increased to 2048MB (otherwise we the default it wouldn’t start at all really).
-
ALM used: Bitbucket Cloud
-
CI system used: Bitbucket Cloud
-
Scanner command used when applicable
- pipe: sonarsource/sonarcloud-scan:1.0.1
variables:
EXTRA_ARGS: -Dsonar.tsql.file.suffixes=.sql -Dsonar.plsql.file.suffixes=.plsql
DEBUG: “true”
- pipe: sonarsource/sonarcloud-scan:1.0.1
-
Languages of the repository: C#, SQL (T-SQL)
-
Error observed
‘’‘11:59:00.962 DEBUG: ‘XXXX/src/XXXX.Infrastructure/Migrations/Script/20190722_XXXX.sql’ generated metadata with charset ‘UTF-16LE’
/usr/bin/run-scanner.sh: line 24: 12 Killed sonar-scanner "{ALL_ARGS[@]}" 2>&1
13 Done | tee "{SCANNER_REPORT}’’’