Azure DevOps Server PR and Branch detection not working after upgrade to SQ 10.0

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)

Azure DevOps Server 2022 (AzureDevOpsServer_20221122.1) w/ SQ extension v5.13
SonarQube 10.0 (Developer Edition)

  • how is SonarQube deployed:
    zip

  • what are you trying to achieve
    After upgrading our SQ Developer Edition 9.9.0 to 10.0, the builds are no longer detecting the current PR or branch. Everything defaults to the default branch.

  • what have you tried so far to achieve this

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Trimmed pipeline (just to show context)

jobs:
  - job:
    displayName: Build and Test
    workspace:
      clean: all
    steps:
        - task: SonarQubePrepare@4
          displayName: SQ Prepare
          inputs:
            SonarQube: 'SonarQube Service Connection'
            scannerMode: 'MSBuild'
            projectKey: '<removed>'
            extraProperties: |
              sonar.cs.opencover.reportsPaths=$(Common.TestResultsDirectory)\coverage.opencover.xml

      - task: DotNetCoreCLI@2
        displayName: 'Build'
        inputs:
          command: build
          projects: '**\*.sln'
          arguments: >-
            -m
            -c $(buildConfiguration)
            -p:reportanalyzer=$(reportAnalyzer)
            -v:$(buildVerbosity)

      - task: SonarQubeAnalyze@4
        displayName: Run SQ Analysis
          
      - task: SonarQubePublish@4
        inputs:
          pollingTimeoutSec: 300
        displayName: Publish SQ Quality Gate Result

9.9.0 Compute Engine log

2023.04.25 16:25:00 INFO  ce[][o.s.c.t.CeWorkerImpl] Execute task | project=<removed> | type=REPORT | pullRequest=3026 | id=AYe5O4sT0aYEFjLCp769 | submitter=sonarqube56891
2023.04.25 16:25:02 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Extract report | status=SUCCESS | time=1701ms
2023.04.25 16:25:02 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist scanner context | status=SUCCESS | time=15ms
2023.04.25 16:25:02 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Propagate analysis warnings from scanner report | status=SUCCESS | time=0ms
2023.04.25 16:25:02 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Generate analysis UUID | status=SUCCESS | time=0ms
2023.04.25 16:25:02 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Load analysis metadata | status=SUCCESS | time=16ms
2023.04.25 16:25:02 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Initialize | status=SUCCESS | time=16ms
2023.04.25 16:25:06 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Build tree of components | components=25 | status=SUCCESS | time=4224ms
2023.04.25 16:25:06 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Validate project | status=SUCCESS | time=0ms
2023.04.25 16:25:07 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Load quality profiles | status=SUCCESS | time=760ms
2023.04.25 16:25:07 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Load file hashes and statuses | status=SUCCESS | time=3ms
2023.04.25 16:25:07 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Load Quality gate | status=SUCCESS | time=5ms
2023.04.25 16:25:07 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Load new code period | status=SUCCESS | time=0ms
2023.04.25 16:25:07 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Detect file moves | status=SUCCESS | time=0ms
2023.04.25 16:25:07 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Detect file moves in Pull Request scope | reportFiles=12 | dbFiles=1041 | movedFiles=0 | addedFiles=12 | status=SUCCESS | time=25ms
2023.04.25 16:25:07 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Load duplications | duplications=168 | status=SUCCESS | time=668ms
2023.04.25 16:25:07 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute cross project duplications | status=SUCCESS | time=0ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute size measures | status=SUCCESS | time=104ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute new coverage | status=SUCCESS | time=147ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute coverage measures | status=SUCCESS | time=61ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute comment measures | status=SUCCESS | time=0ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute duplication measures | status=SUCCESS | time=7ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute size measures on new code | status=SUCCESS | time=1ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute language distribution | status=SUCCESS | time=0ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute test measures | status=SUCCESS | time=0ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute complexity measures | status=SUCCESS | time=1ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Load measure computers | status=SUCCESS | time=0ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute Quality Profile status | status=SUCCESS | time=4ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Execute component visitors | status=SUCCESS | time=545ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Checks executed after computation of measures | status=SUCCESS | time=6ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute Quality Gate measures | status=SUCCESS | time=16ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Compute Quality profile measures | status=SUCCESS | time=1ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Generate Quality profile events | status=SUCCESS | time=5ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Generate Quality gate events | status=SUCCESS | time=0ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Check upgrade possibility for not analyzed code files. | status=SUCCESS | time=0ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist scanner analysis cache | status=SUCCESS | time=0ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist components | status=SUCCESS | time=27ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist analysis | status=SUCCESS | time=5ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist analysis properties | status=SUCCESS | time=20ms
2023.04.25 16:25:08 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist measures | inserts=56 | status=SUCCESS | time=20ms
2023.04.25 16:25:09 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist live measures | insertsOrUpdates=1472 | status=SUCCESS | time=759ms
2023.04.25 16:25:09 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist duplication data | insertsOrUpdates=0 | status=SUCCESS | time=5ms
2023.04.25 16:25:11 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist new ad hoc Rules | status=SUCCESS | time=2013ms
2023.04.25 16:25:11 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist issues | cacheSize=0 bytes | inserts=0 | updates=0 | merged=0 | status=SUCCESS | time=0ms
2023.04.25 16:25:11 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Delete issue changes | changes=0 | status=SUCCESS | time=0ms
2023.04.25 16:25:11 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist project links | status=SUCCESS | time=0ms
2023.04.25 16:25:11 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist events | status=SUCCESS | time=7ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist sources | status=SUCCESS | time=375ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Persist cross project duplications | status=SUCCESS | time=0ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Enable analysis | status=SUCCESS | time=6ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Update last usage date of quality profiles | status=SUCCESS | time=6ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Purge db | status=SUCCESS | time=70ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Index analysis | status=SUCCESS | time=325ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Update need issue sync for branch | status=SUCCESS | time=5ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Publishing taint vulnerabilities events | status=SUCCESS | time=2ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Send issue notifications | status=SUCCESS | time=0ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Publish task results | status=SUCCESS | time=0ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.s.ComputationStepExecutor] Trigger refresh of Portfolios and Applications | status=SUCCESS | time=0ms
2023.04.25 16:25:12 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Webhooks | globalWebhooks=0 | projectWebhooks=0 | status=SUCCESS | time=3ms
2023.04.25 16:25:14 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Pull Request decoration | status=SUCCESS | time=1931ms
2023.04.25 16:25:14 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Report branch Quality Gate status to devops platforms | status=SUCCESS | time=0ms
2023.04.25 16:25:15 INFO  ce[AYe5O4sT0aYEFjLCp769][o.s.c.t.CeWorkerImpl] Executed task | project=<removed> | type=REPORT | pullRequest=3026 | id=AYe5O4sT0aYEFjLCp769 | submitter=sonarqube56891 | status=SUCCESS | time=14781ms

In the Azure DevOps pipeline log from the SonarQubeAnalyze@4 task there are some important lines that may help

Calling the SonarScanner CLI...
INFO: Scanner configuration file: D:\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.36.0\classic-sonar-scanner-msbuild\sonar-scanner-4.8.0.2856\bin\..\conf\sonar-scanner.properties
INFO: Project root configuration file: D:\_work\1\.sonarqube\out\sonar-project.properties
INFO: SonarScanner 4.8.0.2856
INFO: Java 11.0.17 Eclipse Adoptium (64-bit)
INFO: Windows Server 2022 10.0 amd64
INFO: User cache: C:\Users\azureagent\.sonar\cache
INFO: Analyzing on SonarQube server 9.9.0.65466
...
...
INFO: Pull request 3026 for merge into development from VideoRecordingHub
...
...
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://<our_sq_instance>/dashboard?id=<project_key_removed>&pullRequest=3026
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at https://<our_sq_instance>/api/ce/task?id=AYe5O4sT0aYEFjLCp769
INFO: Analysis total time: 34.920 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 40.914s
INFO: Final Memory: 46M/157M
INFO: ------------------------------------------------------------------------
The SonarScanner CLI has finished

After the upgrade to 10.0 the ce logs have this

2023.04.26 18:47:50 INFO  ce[][o.s.c.t.CeWorkerImpl] Execute task | project=<removed> | type=REPORT | id=AYe-43utQgtceVWtfhbA | submitter=sonarqube56891
2023.04.26 18:48:00 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Extract report | status=SUCCESS | time=10140ms
2023.04.26 18:48:00 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist scanner context | status=SUCCESS | time=32ms
2023.04.26 18:48:00 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Propagate analysis warnings from scanner report | status=SUCCESS | time=15ms
2023.04.26 18:48:00 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Generate analysis UUID | status=SUCCESS | time=0ms
2023.04.26 18:48:00 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Load analysis metadata | status=SUCCESS | time=16ms
2023.04.26 18:48:00 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Initialize | status=SUCCESS | time=32ms
2023.04.26 18:48:06 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Build tree of components | components=1144 | status=SUCCESS | time=5775ms
2023.04.26 18:48:06 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Validate project | status=SUCCESS | time=0ms
2023.04.26 18:48:07 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Load quality profiles | status=SUCCESS | time=1204ms
2023.04.26 18:48:18 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Load file hashes and statuses | status=SUCCESS | time=11070ms
2023.04.26 18:48:18 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Load Quality gate | status=SUCCESS | time=0ms
2023.04.26 18:48:18 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Load new code period | status=SUCCESS | time=0ms
2023.04.26 18:48:18 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Detect file moves | reportFiles=955 | dbFiles=1045 | addedFiles=0 | status=SUCCESS | time=31ms
2023.04.26 18:48:18 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Detect file moves in Pull Request scope | status=SUCCESS | time=0ms
2023.04.26 18:48:19 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Load duplications | duplications=144 | status=SUCCESS | time=705ms
2023.04.26 18:48:19 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute cross project duplications | status=SUCCESS | time=0ms
2023.04.26 18:48:25 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute size measures | status=SUCCESS | time=5546ms
2023.04.26 18:48:37 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute new coverage | status=SUCCESS | time=12831ms
2023.04.26 18:48:38 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute coverage measures | status=SUCCESS | time=360ms
2023.04.26 18:48:38 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute comment measures | status=SUCCESS | time=0ms
2023.04.26 18:48:38 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute duplication measures | status=SUCCESS | time=0ms
2023.04.26 18:48:38 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute size measures on new code | status=SUCCESS | time=266ms
2023.04.26 18:48:38 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute language distribution | status=SUCCESS | time=0ms
2023.04.26 18:48:38 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute test measures | status=SUCCESS | time=16ms
2023.04.26 18:48:38 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute complexity measures | status=SUCCESS | time=0ms
2023.04.26 18:48:38 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Load measure computers | status=SUCCESS | time=0ms
2023.04.26 18:48:38 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute Quality Profile status | status=SUCCESS | time=15ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Execute component visitors | status=SUCCESS | time=11508ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Checks executed after computation of measures | status=SUCCESS | time=47ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute Quality Gate measures | status=SUCCESS | time=0ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute Quality profile measures | status=SUCCESS | time=0ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Generate Quality profile events | status=SUCCESS | time=15ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Generate Quality gate events | status=SUCCESS | time=16ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Check upgrade possibility for not analyzed code files. | status=SUCCESS | time=0ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist scanner analysis cache | status=SUCCESS | time=15ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist components | status=SUCCESS | time=79ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist analysis | status=SUCCESS | time=15ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist analysis properties | status=SUCCESS | time=16ms
2023.04.26 18:48:50 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist measures | inserts=57 | status=SUCCESS | time=15ms
2023.04.26 18:49:48 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist live measures | insertsOrUpdates=50229 | status=SUCCESS | time=57823ms
2023.04.26 18:49:48 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist duplication data | insertsOrUpdates=0 | status=SUCCESS | time=172ms
2023.04.26 18:49:56 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist new ad hoc Rules | status=SUCCESS | time=8284ms
2023.04.26 18:49:57 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist issues | cacheSize=315.4 kB | inserts=0 | updates=474 | merged=0 | status=SUCCESS | time=465ms
2023.04.26 18:49:57 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Delete issue changes | changes=0 | status=SUCCESS | time=0ms
2023.04.26 18:49:57 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist project links | status=SUCCESS | time=0ms
2023.04.26 18:49:57 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist events | status=SUCCESS | time=0ms
2023.04.26 18:50:16 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist sources | status=SUCCESS | time=19016ms
2023.04.26 18:50:16 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Persist cross project duplications | status=SUCCESS | time=0ms
2023.04.26 18:50:16 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Enable analysis | status=SUCCESS | time=31ms
2023.04.26 18:50:16 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Update last usage date of quality profiles | status=SUCCESS | time=16ms
2023.04.26 18:50:19 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Purge db | status=SUCCESS | time=3226ms
2023.04.26 18:50:21 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Index analysis | status=SUCCESS | time=1680ms
2023.04.26 18:50:21 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Update need issue sync for branch | status=SUCCESS | time=0ms
2023.04.26 18:50:21 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Compute total Project ncloc | status=SUCCESS | time=16ms
2023.04.26 18:50:21 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Publishing taint vulnerabilities events | status=SUCCESS | time=15ms
2023.04.26 18:50:21 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Send issue notifications | newIssuesNotifs=0 | newIssuesDeliveries=0 | myNewIssuesNotifs=0 | myNewIssuesDeliveries=0 | changesNotifs=0 | changesDeliveries=0 | status=SUCCESS | time=0ms
2023.04.26 18:50:21 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Publish task results | status=SUCCESS | time=0ms
2023.04.26 18:50:21 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.s.ComputationStepExecutor] Trigger refresh of Portfolios and Applications | refreshesAPP=0 | status=SUCCESS | time=0ms
2023.04.26 18:50:21 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Webhooks | globalWebhooks=0 | projectWebhooks=0 | status=SUCCESS | time=0ms
2023.04.26 18:50:21 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Pull Request decoration | status=SUCCESS | time=0ms
2023.04.26 18:50:21 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Report branch Quality Gate status to devops platforms | status=SUCCESS | time=0ms
2023.04.26 18:50:27 INFO  ce[AYe-43utQgtceVWtfhbA][o.s.c.t.CeWorkerImpl] Executed task | project=<removed> | type=REPORT | id=AYe-43utQgtceVWtfhbA | submitter=sonarqube56891 | status=SUCCESS | time=156772ms

But the PRs are not being decorated.

Pipeline log. Nothing about detecting a PR

Calling the SonarScanner CLI...
INFO: Scanner configuration file: D:\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.36.0\classic-sonar-scanner-msbuild\sonar-scanner-4.8.0.2856\bin\..\conf\sonar-scanner.properties
INFO: Project root configuration file: D:\_work\2\.sonarqube\out\sonar-project.properties
INFO: SonarScanner 4.8.0.2856
INFO: Java 11.0.17 Eclipse Adoptium (64-bit)
INFO: Windows Server 2022 10.0 amd64
INFO: User cache: C:\Users\azureagent\.sonar\cache
INFO: Analyzing on SonarQube server 10.0.0.68432
...
...
INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://<sq_url>/dashboard?id=<project_key>
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at https://<sq_url>/api/ce/task?id=AYe-apDSQgtceVWtfha8
INFO: Analysis total time: 52.448 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 55.003s
INFO: Final Memory: 46M/160M
INFO: ------------------------------------------------------------------------
The SonarScanner CLI has finished

I’m seeing that there is a new version of the task. I will try using SonarQubePrepare|Analyze|Publish@5 to see if that fixes things.

1 Like

Upgrading the tasks solved the problem. The AzD extension updates automatically and I’ve never had to upgrade the pipeline tasks before.

Is there any documentation or warnings when the tasks should be updated in our pipelines? The first time this has happened since we started using SQ in v8.

1 Like

Hi,

To keep up with this in the future, you can keep an eye on the header in the docs.

 
HTH,
Ann

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