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
......@@ -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
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