diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 34a4c6f998602aeda3a5fe7d0fe79c7d6c50bf1c..2c083d3a174aba531ffe11ee592db195e408f8ae 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,25 @@ build-services-linux-debug:
   rules:
     - when: always
   artifacts:
-    when: on_failure
     paths:
-      - $CI_PROJECT_DIR/build/CMakeFiles/*.log
\ No newline at end of file
+      - $CI_PROJECT_DIR/build/
+
+test-services-linux-debug:
+  image:
+    name: $CI_REGISTRY_IMAGE/asapo-services-linux-build-env:latest
+    entrypoint: [""]
+  stage: build
+  script:
+    - cd $CI_PROJECT_DIR/tests/automatic/common_scripts
+    - bash start_services.sh
+    - cd $CI_PROJECT_DIR/build
+    - ctest --no-compress-output -T Test --output-on-failure
+  tags:
+    - kubernetes-executor
+  rules:
+    - when: always
+  dependencies:
+    - build-services-linux-debug
+  artifacts:
+    paths:
+      - $CI_PROJECT_DIR/build/