From 04de7cebce6c064198c077c149e4c109a2f026b5 Mon Sep 17 00:00:00 2001
From: surkat <surya.kathayat@signicat.com>
Date: Thu, 2 Feb 2023 13:44:55 +0100
Subject: [PATCH] uncommented artifacts

---
 .gitlab-ci.yml | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4607f28c..7f6591c8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,8 +4,6 @@ stages:
   - build
   - test
   - package
-  - deploy
-
 
 build:
   stage: build
@@ -16,19 +14,19 @@ test:
   stage: test
   script:
     - mvn clean test
-#  artifacts:
-#    paths:
-#      - target/surefire-reports/
-#    reports:
-#      junit: target/surefire-reports/TEST-no.ntnu.idatt1002.demo.repo.MyEntityRepoTest.xml
+  artifacts:
+    paths:
+      - target/surefire-reports/
+    reports:
+      junit: target/surefire-reports/TEST-no.ntnu.idatt1002.demo.repo.MyEntityRepoTest.xml
 
 package:
   stage: package
   script:
     - mvn clean package
-#  artifacts:
-#    paths:
-#      - target/idatt2002demo-1.0-SNAPSHOT-jar-with-dependencies.jar
+  artifacts:
+    paths:
+      - target/idatt2002demo-1.0-SNAPSHOT-jar-with-dependencies.jar
 
 generatepdf:
   image: ubuntu:20.04  # vi kjører dette i en docker container, som kjører Ubuntu Linux
@@ -65,6 +63,6 @@ pages:
   - mv .public public
   artifacts:
     paths:
-    - public
+      - public
   only:
-  - web
+    - web
-- 
GitLab