diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4607f28ccb3e8e76a5d2cb24e1689712b559ec45..7f6591c8f5f81f9c649673c48049e589acf39b24 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