From 3acbeab07c0e0ddfb0486647f7e0ef1d29761b18 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Wed, 3 Jul 2024 06:46:52 +0200
Subject: [PATCH] Artifacts between stages

---
 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c653a24438..9ea379a376 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,6 +40,11 @@ build-metadata-service:
       - /^release-.*/
   script:
     - "mvn -f ./dbrepo-metadata-service/pom.xml clean install $MAVEN_OPTS -DskipTests"
+  artifacts:
+    when: always
+    paths:
+      - .m2/repository/at/tuwien/dbrepo/
+    expire_in: 1 days
 
 #build-analyse-service:
 #  image: docker.io/python:3.11-alpine
-- 
GitLab