Template for a good new topic, formatted with Markdown:
- ALM used Bitbucket Cloud
- CI system used Circle CI
- Scanner command used when applicable (private details masked)
- run:
name: Sonar Scan
command: |
set -euo pipefail
dir=/tmp/sonar-scanner
os=linux
version=<<parameters.sonar_scanner_version>>
scanner_dir=${dir}/sonar-scanner-${version}-${os}
if [[ ! -x "${scanner_dir}/bin/sonar-scanner" ]]; then
curl --tlsv1 --output /tmp/sonar-scanner-cli.zip \
"https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${version}-${os}.zip"
unzip -qq -o /tmp/sonar-scanner-cli.zip -d "$dir"
fi
export PATH=${PATH}:${scanner_dir}/bin
<<parameters.command>>
- Languages of the repository : React for FE and BE typescript
- Only if the SonarCloud project is public, the URL
- And if you need help with pull request decoration, then the URL to the PR too
- Error observed : Could not resolve xx file paths in lcov.info
- Steps to reproduce
- Potential workaround
Error message :
WARN: Could not resolve 3 file paths in [/home/circleci/project/apps/xxx/…/…/coverage/apps/xxx/lcov.info]