Skip to content
Snippets Groups Projects
Commit e3cf2838 authored by Stian Lyng's avatar Stian Lyng
Browse files

add prepare:agent

parent 1b57323d
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ maven-build: ...@@ -18,7 +18,7 @@ maven-build:
run-tests: run-tests:
stage: test stage: test
script: script:
- mvn test - mvn jacoco:prepare-agent test jacoco:report verify
deploy-jar: deploy-jar:
stage: deploy stage: deploy
...@@ -28,11 +28,10 @@ deploy-jar: ...@@ -28,11 +28,10 @@ deploy-jar:
jacoco-report: jacoco-report:
stage: pages stage: pages
script: script:
- mvn jacoco:report
- mkdir public - mkdir public
- cp -r target/site/jacoco public/ - cp -r target/site/jacoco public/
artifacts: artifacts:
paths: paths:
- public - public
only: only:
- main - master
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment