Commit b2a19511 authored by Riegel's avatar Riegel
Browse files

Update .gitlab-ci.yml

parent f552c38f
Pipeline #11125 failed
...@@ -4,26 +4,35 @@ stages: ...@@ -4,26 +4,35 @@ stages:
- test - test
- build - build
junit-tests:
stage: test
script:
- cd CityDoctorParent
- mvn test
artifacts:
when: always
reports:
junit:
- CityDoctorParent/**/target/surefire-reports/TEST-*.xml
code-coverage: code-coverage:
stage: test stage: test
script: script:
- cd CityDoctorParent - cd CityDoctorParent
- mvn verify -U - mvn test
coverage: /Total.*?([0-9]{1,3})%/ coverage: /Total.*?([0-9]{1,3})%/
artifacts: artifacts:
when: always when: always
paths: reports:
- CityDoctorParent/target/site/ coverage_report:
coverage_format: jacoco
path: CityDoctorParent/target/site/jacoco-aggregate/jacoco-resources/jacoco.xml
build: build:
stage: build stage: build
script: script:
- cd CityDoctorParent - cd CityDoctorParent
- mvn verify -U - mvn verify -U -Dmaven.test.skip=true
artifacts:
when: always
reports:
junit:
- CityDoctorParent/**/target/surefire-reports/TEST-*.xml
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