Im not sure if this is by design or not but im running into an issue when i have Key: sonar.gitlab.all_issues set to true. When this is set and the pipeline runs it errors out:
INFO: ANALYSIS SUCCESSFUL INFO: Executing post-job 'GitLab Commit Issue Publisher' INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ INFO: Total time: 10.047s INFO: Final Memory: 20M/469M INFO: ------------------------------------------------------------------------ ERROR: Error during SonarQube Scanner execution ERROR: Report status=failed, desc=SonarQube reported 145 issues, with 132 critical (fail) and 13 major ERROR: ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging. ERROR: Job failed: exit code 1
If i set it to false it passes
INFO: ANALYSIS SUCCESSFUL INFO: Executing post-job 'GitLab Commit Issue Publisher' INFO: Report status=success, desc=SonarQube reported no issues INFO: Task total time: 5.804 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 8.352s INFO: Final Memory: 21M/301M INFO: ------------------------------------------------------------------------ Job succeeded
Im not sure how to get around this issue? Is it failing because its picking up errors in the code etc? Thanks
Im not sure if this is by design or not but im running into an issue when i have Key: sonar.gitlab.all_issues set to true. When this is set and the pipeline runs it errors out:
INFO: ANALYSIS SUCCESSFUL INFO: Executing post-job 'GitLab Commit Issue Publisher' INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ INFO: Total time: 10.047s INFO: Final Memory: 20M/469M INFO: ------------------------------------------------------------------------ ERROR: Error during SonarQube Scanner execution ERROR: Report status=failed, desc=SonarQube reported 145 issues, with 132 critical (fail) and 13 major ERROR: ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging. ERROR: Job failed: exit code 1
If i set it to false it passes
INFO: ANALYSIS SUCCESSFUL INFO: Executing post-job 'GitLab Commit Issue Publisher' INFO: Report status=success, desc=SonarQube reported no issues INFO: Task total time: 5.804 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 8.352s INFO: Final Memory: 21M/301M INFO: ------------------------------------------------------------------------ Job succeeded
Im not sure how to get around this issue? Is it failing because its picking up errors in the code etc? Thanks