diff --git a/AssignmentChecker/.gitlab-ci/04_stageCodeQuality.yml b/AssignmentChecker/.gitlab-ci/04_stageCodeQuality.yml
index 705f2c13f1e88c358038f702856200f44488fa0f..c10eae8504baed8bbb2688b9be5e6aef396bdd20 100644
--- a/AssignmentChecker/.gitlab-ci/04_stageCodeQuality.yml
+++ b/AssignmentChecker/.gitlab-ci/04_stageCodeQuality.yml
@@ -10,3 +10,23 @@ code_quality:lint:
         - npm run lint
     rules:
         -   if: '$CI_COMMIT_TAG =~ "/^$/"'
+
+
+code_quality:sonarqube:
+    stage: code_quality
+    tags:
+        - code_quality
+    image:
+        name: leadrien/isc-sonar-scanner-cli
+        entrypoint: [ "" ]
+    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
+    cache:
+        key: "${CI_JOB_NAME}"
+        paths:
+            - .sonar/cache
+    script:
+        - sonar-scanner
+    rules:
+        -   if: '$CI_COMMIT_TAG =~ "/^$/"'
diff --git a/sonar-project.properties b/sonar-project.properties
new file mode 100644
index 0000000000000000000000000000000000000000..0d2c78e4e59e7c30d8e4e1a4ff1f0fbba2b89d2f
--- /dev/null
+++ b/sonar-project.properties
@@ -0,0 +1,2 @@
+sonar.projectKey=DojoAssignmentChecker
+sonar.qualitygate.wait=true