I have used SonarQube template for integrating BitBucket pipeline.
After the succesful run, i dont any source code being analyzed.
Following is my pipeline config
steps:
- step: &build-test-sonarcloud
name: Build, test and analyze on SonarCloud
caches:
- node
- sonar
script:
- npm install --quiet
- npm run test
- pipe: sonarsource/sonarcloud-scan:1.2.0
variables:
SONAR_TOKEN: ${SONAR_TOKEN}
EXTRA_ARGS: "-Dsonar.sources=./src -Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info"
services:
- mongo
Following is the project structure
The src folder is at root level
I see the following INFO in the pipeline logs
Can anyone tell me what I am missing?