diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 45a2e3ecf8f42b962dd6f0a50c5db80a39b622aa..731bca9ef03ee2db976da25348cd17d4c560104d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,8 +6,13 @@ cache:
   paths:
     - .m2/repository
 
-test:
+stages:
+  - build
+
+build:
+  stage: build
   image: maven:3-openjdk-11
-  stage: test
-  script: 
-    - mvn --no-transfer-progress test
+  script: "mvn clean package -B"
+  artifacts:
+    paths:
+      - target/*.jar