Open robbyablaze opened 6 years ago
Exact same issue reproduced :
Same problem {"errors":[{"msg":"Can return only the first 10000 results. 10100th result asked."}]}
any way to still post the info?
Hi, Change project ID with Real project ID (settings general). Because if very slow to search project in gitlab. You use gitlab.com ?
Hey
Changed project id did not help still same error. I use gitlab CE 10.5.6
INFO: Waiting quality gate to complete... INFO: Quality gate status: OK INFO: Security Rating on New Code : 1 INFO: Reliability Rating on New Code : 1 INFO: Maintainability Rating on New Code : 1 INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ INFO: Total time: 13:23.304s INFO: Final Memory: 22M/496M INFO: ------------------------------------------------------------------------ ERROR: Error during SonarQube Scanner execution ERROR: SonarQube failed to complete the review of this commit: Error 400 on http://xxxxxx/api/issues/search?componentKeys=XXXX&p=101&resolved=false : {"errors":[{"msg":"Can return only the first 10000 results. 10100th result asked."}]} ERROR: Caused by: Error 400 on http://xxxxxx/api/issues/search?componentKeys=XXX&p=101&resolved=false : {"errors":[{"msg":"Can return only the first 10000 results. 10100th result asked."}]} ERROR:
if I change p=100 then I can see some results.
How many issues in Sonarqube for current project ?
Sonarqube limit result at 10000, I can fix a problems
@Tamps @robbyablaze @fleuryc I create a fix with 4.0.0-rc2
Setup: SonarQube 7.1 Sonar Gitlab plugin 3.0.1 Gitlab 10.3.0-ee
Execute with jenkins sonar-scanner with added command: sonar.login=${SONAR_KEY} sonar.projectKey=TEST:TEST_APPS sonar.projectName=TEST_APPS sonar.gitlab.commit_sha=${GIT_COMMIT} sonar.gitlab.ref_name=master sonar.gitlab.project_id=${GIT_URL}
Always get result like this: INFO: Executing post-job GitLab Commit Issue Publisher INFO: Waiting quality gate to complete... INFO: Waiting quality gate to complete... INFO: Waiting quality gate to complete... INFO: Waiting quality gate to complete... INFO: Quality gate status: OK INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ INFO: Total time: 11:22.837s INFO: Final Memory: 78M/2168M INFO: ------------------------------------------------------------------------ ERROR: Error during SonarQube Scanner execution ERROR: SonarQube failed to complete the review of this commit: Error 400 on http://X.X.X.X:Y/api/issues/search?branch=master&componentKeys=TEST:TEST_APPS&p=101&resolved=false