Hi,
I am getting this error in bitbucket piepline when I want to sonarscan using sonarcloud
There is an error in your bitbucket-pipelines.yml at [pipelines > default > 0 > step > script > 0 > variables]. To be precise: This section should be a map (it is currently defined as a list).
My Pipeline script is as below
image: microsoft/dotnet:sdk
clone:
depth: full # SonarCloud scanner needs the full history to assign issues properly
pipelines:
default:
- step:
script: # Modify the comma`nds below to build your repository.
- pipe: sonarsource/sonarcloud-quality-gate:0.1.2
variables:
- SONAR_TOKEN:'${SONAR_TOKEN}'