Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Verified Commit 5e575e54 authored by Daya Adianto's avatar Daya Adianto
Browse files

Remove coverage visualiser in MR

parent 8e499e5f
No related branches found
No related tags found
No related merge requests found
Pipeline #147248 passed with stages
in 2 minutes and 53 seconds
......@@ -33,7 +33,6 @@ stages:
- build
- test
- deploy
- visualize
build:
stage: build
......@@ -79,21 +78,4 @@ test:
- target/surefire-reports/TEST-*.xml
# TODO: Deploy the project to Heroku or other PaaS of your choice (e.g. Fly.io)
# TODO: Configure 'spotbugs-sast' job (part of SAST job template) so it analyses the compiled Java artifacts
# Taken from: https://docs.gitlab.com/ee/ci/testing/test_coverage_visualization.html#maven-example
coverage_visualization:
stage: visualize
image: registry.gitlab.com/haynes/jacoco2cobertura:1.0.8
script:
- python /opt/cover2cover.py target/site/jacoco/jacoco.xml $CI_PROJECT_DIR/src/main/java/
> target/site/cobertura.xml
needs:
- job: test
artifacts: true
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: target/site/cobertura.xml
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