diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b69987c6c1f252ebf824bd2a39bfe891fc4bedc6..3bd9ce007392a0dfe31ca6b87ebd268b3d516ede 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,28 +19,16 @@ variables:
   P_NAME: "app.access-token-provider"
   P_APP_TYPE: "java"
   P_CODE_SRC_PATH: "."
+  P_MAVEN_IMAGE_TAG: "3.6.3"
 
 
 # Define jobs
 code:
   stage: build
   extends:
-    - .codeForJava
-  variables:
-    P_MAVEN_IMAGE_TAG: "3.6.3"
+    - .buildCodeForJava
 
 quality:
   stage: tests
   extends:
-    - .sonarqubeForJava
-  variables:
-    P_MAVEN_IMAGE_TAG: "3.6.3"
-    P_CODE_BINARIES: "target/classes/"
-    P_CODE_JACOCO_REPORT_PATH: "target/jacoco.exec"
-    P_CODE_JUNIT_REPORTS_PATH: "target/surefire-reports"
-    P_CODE_DYNAMIC_ANALYSIS: "reuseReports"
-    P_CODE_COVERAGE_PLUGIN: "jacoco"
-    P_CODE_SOURCE_ENCODING: "UTF-8"
-    P_CODE_LANGUAGE: "java"
-    P_CODE_DEVELOPER_EDITION: "true"
-
+    - .testQualityForJavaWithSonarqube
\ No newline at end of file