Generate artifact for sonar jobs when quality gate fails
## Description When the SonarQube server is configured, no report is generated even if the quality gate fails. It would be better to generate an artifact when the quality gate fails. Templates: * sonarqube ## Implementation ideas * Configure SonarQube integration at project level in GitLab following the official SonarSource documentation (SonarScanner for Maven):\ https://docs.sonarsource.com/sonarqube-server/devops-platform-integration/gitlab-integration/setting-up-at-project-level#sonarscanner-for-maven * Add `sonar:sonar` goal in the CI pipeline. * Configure required variables (`SONAR_HOST_URL`, `SONAR_TOKEN`). * Enable Merge Request decoration and Quality Gate status reporting. * Validate branch and MR analysis behavior. Design improvements can also be discussed on the To Be Continuous Discord server.
issue