Skip to content
Snippets Groups Projects
Commit 04de7ceb authored by surkat's avatar surkat
Browse files

uncommented artifacts

parent 034a3d58
No related branches found
No related tags found
No related merge requests found
Pipeline #198066 failed
...@@ -4,8 +4,6 @@ stages: ...@@ -4,8 +4,6 @@ stages:
- build - build
- test - test
- package - package
- deploy
build: build:
stage: build stage: build
...@@ -16,19 +14,19 @@ test: ...@@ -16,19 +14,19 @@ test:
stage: test stage: test
script: script:
- mvn clean test - mvn clean test
# artifacts: artifacts:
# paths: paths:
# - target/surefire-reports/ - target/surefire-reports/
# reports: reports:
# junit: target/surefire-reports/TEST-no.ntnu.idatt1002.demo.repo.MyEntityRepoTest.xml junit: target/surefire-reports/TEST-no.ntnu.idatt1002.demo.repo.MyEntityRepoTest.xml
package: package:
stage: package stage: package
script: script:
- mvn clean package - mvn clean package
# artifacts: artifacts:
# paths: paths:
# - target/idatt2002demo-1.0-SNAPSHOT-jar-with-dependencies.jar - target/idatt2002demo-1.0-SNAPSHOT-jar-with-dependencies.jar
generatepdf: generatepdf:
image: ubuntu:20.04 # vi kjører dette i en docker container, som kjører Ubuntu Linux image: ubuntu:20.04 # vi kjører dette i en docker container, som kjører Ubuntu Linux
...@@ -65,6 +63,6 @@ pages: ...@@ -65,6 +63,6 @@ pages:
- mv .public public - mv .public public
artifacts: artifacts:
paths: paths:
- public - public
only: only:
- web - web
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment