Sonar Qube not generating proper report link

Sonar Qube is working but not loading the report. link properly When I’m using Sonar Qube in ADO it returns the following link SonarQube*** in the configuration I passed the required param which is SQ project key, but unable to load proper project… Can you help me solving the issue

here is my configuration in ADO

  - script: |
      docker run \
        --rm \
        -e SONAR_HOST_URL="$(sq_host)" \
        -e SONAR_LOGIN="$(sq_token)" \
        -v "${{ parameters.tempDirectory }}:/usr/src" \
        sonarsource/sonar-scanner-cli \
        -Dsonar.projectKey="$(sq_project_key)" \
        -Dsonar.sources=/usr/src
    displayName: 'SonarQube Analysis of Artifacts'

Hey there.

Something tells me you probably marked sq_project_key as a secret variable so it’s getting censored from the build logs. There’s no reason to mark this secret (unlike sq_token)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.