From 3eb9f738efa3b0368f2d6e98f26e6472621a38b5 Mon Sep 17 00:00:00 2001 From: danielb Date: Sun, 26 May 2024 00:17:23 +0000 Subject: [PATCH] updated pipeline --- .gitlab-ci.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 91a8eaa..601dbca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,13 +8,18 @@ stages: build: stage: build script: - - mvn package - artifacts: - paths: - - target/*.jar - expire_in: 1 week + - mvn install -B test: stage: test script: - - mvn test \ No newline at end of file + - mvn test + +production: + stage: production + script: + - mvn package + artifacts: + paths: + - target/*.jar + expire_in: 1 week \ No newline at end of file