Я использую плагин gitlab tanlab для отчетов сонара. Ниже приведена команда, которую я запускаю на конвейере gitlab ci:
sonar-scanner -Dproject.settings=sonar-project.properties -Dsonar.host.url=$HOST -Dsonar.login=$TOKEN -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.projectName=$PROJECT_NAME -Dsonar.branch.name=$CI_COMMIT_REF_NAME -Dsonar.gitlab.failure_notification_mode="exit-code" -Dsonar.qualitygate.wait=true -Dsonar.gitlab.query_wait=2000 -Dsonar.gitlab.query_max_retry=100 -Dsonar.analysis.mode=publish -Dsonar.gitlab.commit_sha="$CI_COMMIT_SHA" -Dsonar.gitlab.ref_name="$CI_COMMIT_REF_NAME" -Dsonar.gitlab.project_id="$CI_PROJECT_PATH" -Dsonar.gitlab.disable_inline_comments=true
А вот выходные данные задания, показывающие успешное выполнение, но проверка качества не удалась с критической ошибкой.
...
INFO: Analysis report generated in 1588ms, dir size=1 MB
INFO: Analysis report compressed in 341ms, zip size=563 KB
INFO: Analysis report uploaded in 298ms
INFO: ANALYSIS SUCCESSFUL, you can browse https://xyz/dashboard?id=xyz&branch=xyz&resolved=false
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at ...
INFO: Read data from file
INFO: Save data from file
INFO: Summary is saved under /builds/.../SummaryOfProjectAnalysis.json
INFO: Executing post-job 'Summary of project analysis'
INFO: PostJobContext is execute
INFO: Save data from file
INFO: Summary is saved under /builds/...
INFO: Analysis total time: 48.293 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 1:51.196s
INFO: Final Memory: 36M/475M
INFO: ------------------------------------------------------------------------
[07:36:13] SonarQube analysis finished.
Есть ли что-то, что я пропускаю?