New PRs/Branches missing in SQ UI v2025.2.0

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) 2025.2.0.105476
  • how is SonarQube deployed: zip, Docker
  • what are you trying to achieve
    New PR/branches weren’t showing up in the SQ UI
  • what have you tried so far to achieve this
    Rolling back to 9.9.0.65466 resolved the issue immediately

Here is a snippet of our build pipeline powershell that works with the previous version, but doesn’t work with version 2025.2.0

      [CmdletBinding()]
 
      $Token = [System.Text.Encoding]::UTF8.GetBytes($env:SONARQUBE_TOKEN + ":")
      $TokenInBase64 = [System.Convert]::ToBase64String($Token)

      $basicAuth = [string]::Format("Basic {0}", $TokenInBase64)
      $Headers = @{ Authorization = $basicAuth }

      if ("$(Build.Reason)" -eq "PullRequest"){
        $pullRequestId = $(System.PullRequest.PullRequestId)
        $urlSuffix = "&pullRequest=$pullRequestId"
      } else {
        $branchSource = "$(Build.SourceBranch)"
        $branchSourcePath = $branchSource -replace "refs/heads/", ""
        $urlSuffix = "&branch=$branchSourcePath"
      }
    
      $QualityGateResult = Invoke-RestMethod -Method Get -Uri "$($env:SONARQUBE_URL)api/qualitygates/project_status?projectKey=$env:SONARQUBE_PROJECT$urlSuffix" -Headers $Headers
      $QualityGateResult | ConvertTo-Json | Write-Host

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

Hi,

Welcome to the community and thanks for this report!

What, if anything, shows up in the ce.log server log of your 2025.2 instance?

 
Thx,
Ann