SONAR QUBE - CODE SMELL IS NOT WORKING

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.

Hi,

Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

9.6.1 → 9.9.1 → 10.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, you might want to check with the plugin maintainers. We’re planning to add Dart support this year, but we haven’t gotten to it yet, so what you’re using is coming from a 3rd-party.

 
Ann