On running the SonarCloud pipe in Bitbucket Pipelines, it does detect a syntax error in my code, but the run still finishes and Bitbucket pipelines considers the task to be a success
ERROR: Unable to parse file: app/example.py ERROR: Parse error at line 17 column 26: --------- INFO: Sensor Python Sensor [python] (done) | time=17632ms
I would have imagined this failing the build, but it does not. Is there something missing in my setup?
my bitbucket-pipelines.yml file has this block
steps: - step: &sonarcloud name: Analyze on SonarCloud caches: - sonar script: - pipe: sonarsource/sonarcloud-scan:1.2.0