I am trying run analyzes for a PR, at project below and I am receiving this error:
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project vianuvem: Could not find the pullrequest with key '156': Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=acesso-io_auto-backend&pullrequestKey=156 : {"errors":[{"msg":"The pullrequest could not be found"}]}
I have another projects in organization with GitHub and with same command and is working.
I already delete project and import from GitHub again, and the error persists.
- ALM used: GitHub
- CI system used: Jenkins
- Scanner command used:
mvn -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.login=${SONAR_TOKEN} -Dsonar.projectKey=acesso-io_auto-backend -Dsonar.projectName=auto-backend -Dsonar.organization=unico-io -Dsonar.host.url=https://sonarcloud.io -Dsonar.pullrequest.key=156 -Dsonar.pullrequest.branch=test -Dsonar.pullrequest.base=master - Languages of the repository: Java