Hi Everyone!
I have the same issue as mentioned here; I get the following error in spite of increasing the memory.
18:52:55.014 INFO: Sensor PL/SQL Sensor [plsql]
18:52:55.042 WARN: The Data Dictionary is not configured for PLSQL analyzer which prevents rule(s) S3641, S3921, S3618, S3651 to raise issues. See https://sonarcloud.io/documentation/analysis/languages/plsql/
18:52:55.049 INFO: 1 source files to be analyzed
18:52:56.091 DEBUG: 'wp-theme/trullio.sql' generated metadata with charset 'UTF-8'
18:53:05.049 INFO: 0/1 files analyzed so far, currently analyzing: /opt/atlassian/pipelines/agent/build/wp-theme/trullio.sql
18:53:15.049 INFO: 0/1 files analyzed so far, currently analyzing: /opt/atlassian/pipelines/agent/build/wp-theme/trullio.sql
18:53:25.050 INFO: 0/1 files analyzed so far, currently analyzing: /opt/atlassian/pipelines/agent/build/wp-theme/trullio.sql
18:53:35.050 INFO: 0/1 files analyzed so far, currently analyzing: /opt/atlassian/pipelines/agent/build/wp-theme/trullio.sql
18:53:45.050 INFO: 0/1 files analyzed so far, currently analyzing: /opt/atlassian/pipelines/agent/build/wp-theme/trullio.sql
18:53:55.050 INFO: 0/1 files analyzed so far, currently analyzing: /opt/atlassian/pipelines/agent/build/wp-theme/trullio.sql
18:54:05.050 INFO: 0/1 files analyzed so far, currently analyzing: /opt/atlassian/pipelines/agent/build/wp-theme/trullio.sql
/usr/bin/run-scanner.sh: line 24: 11 Killed sonar-scanner "${ALL_ARGS[@]}" 2>&1
12 Done | tee "${SCANNER_REPORT}"
✖ SonarCloud analysis failed.
This is my bitbucket pipeline:
image: node:14.5.0
clone:
depth: full
definitions:
services:
docker:
memory: 2048
steps:
- step: &build-test-sonarcloud
size: 2x
caches:
- node
script:
#- // build and test
- pipe: sonarsource/sonarcloud-scan:1.2.0
variables:
DEBUG: 'true'
SONAR_SCANNER_OPTS: -Xmx2048m
SONAR_TOKEN: ${SONAR_TOKEN}
EXTRA_ARGS: -Dsonar.host.url=https://sonarcloud.io
- step: &check-quality-gate-sonarcloud
name: Check the Quality Gate on SonarCloud
script:
- pipe: sonarsource/sonarcloud-quality-gate:0.1.4
variables:
DEBUG: 'true'
SONAR_TOKEN: ${SONAR_TOKEN}
EXTRA_ARGS: -Dsonar.host.url=https://sonarcloud.io
pipelines:
default:
- step: *build-test-sonarcloud
- step: *check-quality-gate-sonarcloud
Kindly provide some insights!