Hey y’all!
I’m getting below error for pull request (Azure DevOps using Github repository)
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=106ms
INFO: Load branch configuration
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 32.319s
INFO: Final Memory: 7M/30M
INFO: ------------------------------------------------------------------------
##[error]ERROR: Error during SonarScanner execution
ERROR: Error during SonarScanner execution
##[error]ERROR: Could not find the pullrequest with key ‘29’
ERROR: Caused by: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=hortohome_LoanManager&pullrequestKey=29 : {“errors”:[{“msg”:“Requested resource wasn’t found on Azure DevOps.”,“reason”:“AZURE_DEVOPS_UNABLE_TO_FETCH_REQUESTED_RESOURCE”}]}
ERROR:
ERROR: Could not find the pullrequest with key ‘29’
ERROR: Caused by: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=hortohome_LoanManager&pullrequestKey=29 : {“errors”:[{“msg”:“Requested resource wasn’t found on Azure DevOps.”,“reason”:“AZURE_DEVOPS_UNABLE_TO_FETCH_REQUESTED_RESOURCE”}]}
ERROR:
##[error]The SonarScanner did not complete successfully
The SonarScanner did not complete successfully
##[error]17:26:14.35 Post-processing failed. Exit code: 1
17:26:14.35 Post-processing failed. Exit code: 1
##[error]The process ‘/usr/bin/dotnet’ failed with exit code 1
I’m not facing any error while doing new commits to the same branches. For commits the analysis work very well.
I had uninsntalled and so installed SonarCloud in github apps and in service connections for azure devops, but I’m facing the same problem.
- The project is public on GitHub, Azure DevOps and SonarCloud;
- The problem is happening with pull request to and for any branch;
- The pull requests exist on GitHub.
ps: mow I realized that the same problem is happening for all projects in my organization.