Our PRs don’t show any Sonar results. This used to work more than 6 months ago with v1.2.1 of plugin but it stopped working, so I upgraded to 1.3.0 and yields same result.
- Using Sonarcloud, using Sonar BitBucket Pipe version 1.3.0
This is how I’m running:
- pipe: sonarsource/sonarcloud-scan:1.3.0
variables:
SONAR_TOKEN: ${SONAR_TOKEN}
EXTRA_ARGS: '-Dsonar.sources=controllers,utils,schemas,services -Dsonar.test.inclusions=**/tests/** -Dsonar.projectBaseDir=/opt/atlassian/pipelines/agent/build/ -Dsonar.cpd.exclusions=**/* -Dsonar.scm.provider=git -Dsonar.eslint.reportPaths=eslint-report.json -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info'