From 69643077a7a02fc1e7a75826722cd664c6159360 Mon Sep 17 00:00:00 2001 From: Marvin Scham Date: Thu, 11 May 2023 10:31:25 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..200e56a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,21 @@ +image: maven:3.9.1-eclipse-temurin-17 + +cache: + paths: + - .m2/repository + +stages: + - build + - test + +build: + stage: build + script: + - echo "Maven Build started..." + - "mvn compile" + +test: + stage: test + script: + - echo "Maven Test started..." + - "mvn test"