diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 91ae3f80fe864aad97f41cb0cb39f4b550579ce5..6db1521438a75017ceb0a919a4268352ce8e80fe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,30 +12,14 @@ variables:
   refHuVersion: "38.p12.v31"
   refERCCVersion: "92"
 
-include:
-  - template: Code-Quality.gitlab-ci.yml
-
 stages:
   - test
   - unit
   - aggregation
   - reference
   - integration
-  - consistency
+  - consistency: [gl-code-quality-report.html]
 
-code_quality:
-  stage: test
-  artifacts:
-    paths: [gl-code-quality-report.json]
-    expire_in: 1 year
-
-code_quality_html:
-  stage: test
-  extends: code_quality
-  variables:
-    REPORT_FORMAT: html
-  artifacts:
-    paths: [gl-code-quality-report.html]
 
 getBag:
   stage: unit