when pr is raised, PR build is getting failed in sonar analysis but when i run target and source branch manually sonar results are getting fine.
Till yesterday PR builds also working fine. This issue arises from today. Any help on this @community ??
PR build is getting failed but when target,source branch run manually sonar results are getting fine
We have a similar issue.
The analysis works fine on the branch but fails when it runs as part of PR. This is for all of the projects in the organization.
Source Control: Azure DevOps.
##[error]ERROR: Error during SonarScanner execution
ERROR: Error during SonarScanner execution
##[error]ERROR: Could not find the pullrequest with key ‘26123’
ERROR: Could not find the pullrequest with key ‘26123’
##[error]ERROR: Caused by: Error 404 on https://sonarcloud.io/api/alm_
Update: The issue was with PAT expiration! Renewing the Azure DevOps token fixed our issue.