From 5c8f07ad532e9782f42006b13d6e6ed8e14f5100 Mon Sep 17 00:00:00 2001
From: "Lange, Dr. Herbert" <herbert.lange@uni-hamburg.de>
Date: Tue, 26 Jul 2022 14:45:10 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..754a522
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,11 @@
+stages:          # List of stages for jobs, and their order of execution
+  - deploy
+build-job:       # This job runs in the build stage, which runs first.
+  stage: check
+  script:
+    - apk add openjdk11-jre-headless
+    - mvn compile assembly:single
+  artifacts:
+     name: "release"
+     path:
+         - target/corpus-web-service-1.0-SNAPSHOT.jar
-- 
GitLab