diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 547016f650a838e1db5f5ab55d2d52e417b744f7..ba54c7e450883f6bdf25238f12f5645820d965f6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -339,12 +339,17 @@ test-patch-tarantool:
   <<: *test-patch-rules
   variables:
     GIT_SUBMODULE_STRATEGY: recursive
+    VARDIR: tmp/t
   image:
     name: ${BASE_IMAGE}:${BASE_IMAGE_LATEST}
     pull_policy: always
   script:
     - ./tools/prepare_source_tree_for_stat_analysis.py apply
-    - pushd tarantool-sys/ && make -f .test.mk test-release; popd
+    - pushd tarantool-sys/ && make -f .test.mk VARDIR=${VARDIR} test-release;
+  artifacts:
+    when: always
+    paths:
+      - tarantool-sys/test/${VARDIR}/artifacts/log/*.log
 
 test-mac-m1:
   extends: .test