I am getting the following error : Error during SonarScanner execution java.lang.StackOverflowError when I configured a bitbucket pipeline to deploy a python code to sonarcloud I am aware there are similar questions in this forum regarding this issue but I am unable to pinpoint my error .
image: python:3.8
options:
docker: true
size: 2x
clone:
depth: full
definitions:
services:
docker:
memory: 4096
caches:
sonar: ~/.sonar/cache
steps:
- step: &build-test-sonarcloud
name: Build, test and analyze on SonarCloud
caches:
- pip
- sonar
script:
#- python3 -m unittest discover
- pipe: sonarsource/sonarcloud-scan:1.2.0
- step: &check-quality-gate-sonarcloud
name: Check the Quality Gate on SonarCloud
script:
- pipe: sonarsource/sonarcloud-quality-gate:0.1.4
pipelines:
branches:
feature/*:
- step: *build-test-sonarcloud
- step: *check-quality-gate-sonarcloud
master:
- step: *build-test-sonarcloud
- step: *check-quality-gate-sonarcloud
pull-requests:
"**":
- step: *build-test-sonarcloud
- step: *check-quality-gate-sonarcloud
The pipeline logs for the above pipeline is here pipelineLog-2.txt (73.5 KB)