Hello all, we are using sonarqube - 9.6.1 - community version and we’re using bitbucket ci/cd
here is the pipeline
image: cirrusci/flutter:stable
pipelines:
branches:
infra-devops:
- step:
name: Build and Test
script:
- git submodule update --init --recursive
- flutter pub get
- step:
name: SonarQube Analysis
script:
- apt-get update && apt-get install -y openjdk-17-jre
- curl --create-dirs -sSLo /sonar-scanner-cli.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.2.2472.zip
- unzip -q /sonar-scanner-cli.zip -d /sonar-scanner
- export PATH=$PATH:/sonar-scanner/sonar-scanner-4.6.2.2472/bin
- apt-get install -y nodejs
- sonar-scanner -Dsonar.login="$SONAR_TOKEN" -Dsonar.host.url="$SONAR_HOST_URL"
options:
sonar: true
and also enabled sonar.dart.analyzer.options.override=true in sonar properties file.
when checking in everything is working
but doing on the server code smell is not working ?
can anyone please help here ??
Thanks in advance.