diff --git a/maven-packages/sonarqube.yml b/maven-packages/sonarqube.yml
index f8b8577a4d91aee9ceb59a99a7b551bce17a4f17..cb4dc65eae2ae816967c2e4f1e5b76603b6c6640 100644
--- a/maven-packages/sonarqube.yml
+++ b/maven-packages/sonarqube.yml
@@ -2,7 +2,7 @@ sonarqube-check:
   image: $ACR_URL/maven:3.6.3-jdk-11
   tags:
     - docker
-  stage: code_analysis
+  stage: .pre
   variables:
     SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar"  # Defines the location of the analysis task cache
     GIT_DEPTH: "0"  # Tells git to fetch all the branches of the project, required by the analysis task