Commit b2a19511 authored by Riegel's avatar Riegel
Browse files

Update .gitlab-ci.yml

parent f552c38f
Pipeline #11125 failed
......@@ -4,26 +4,35 @@ stages:
- test
- build
junit-tests:
stage: test
script:
- cd CityDoctorParent
- mvn test
artifacts:
when: always
reports:
junit:
- CityDoctorParent/**/target/surefire-reports/TEST-*.xml
code-coverage:
stage: test
script:
- cd CityDoctorParent
- mvn verify -U
- mvn test
coverage: /Total.*?([0-9]{1,3})%/
artifacts:
when: always
paths:
- CityDoctorParent/target/site/
reports:
coverage_report:
coverage_format: jacoco
path: CityDoctorParent/target/site/jacoco-aggregate/jacoco-resources/jacoco.xml
build:
stage: build
script:
- cd CityDoctorParent
- mvn verify -U
artifacts:
when: always
reports:
junit:
- CityDoctorParent/**/target/surefire-reports/TEST-*.xml
- mvn verify -U -Dmaven.test.skip=true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment