Sonar step in bitbucket pipeline fails randomly

I got it to run again with this solution from this community post:

I have added the docker memory to the bitbucket-pipelines.yml

definitions:
  services:
    docker:
      memory: 4096

and also added to the sonar step the size 2x:

size: 2x

After those changes the sonar step is running again.

1 Like