Skip to content

Commit 6d34fca

Browse files
committed
removed jacoco xml and fixed cache again
1 parent 499a4b7 commit 6d34fca

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ default:
9494
name: dtzar/helm-kubectl:latest
9595
entrypoint: ['']
9696

97-
9897
#
9998
# default cache konfiguration for maven build jobs
10099
# Cache downloaded dependencies and plugins between builds.
@@ -116,8 +115,6 @@ default:
116115
rules:
117116
- if: $CI_COMMIT_TAG
118117

119-
120-
121118
rpm:
122119
stage: build
123120
image: dcache/maven-java21-rpm-build
@@ -181,7 +178,7 @@ run_ut_with_coverage:
181178
- mvn $MAVEN_CLI_OPTS -P code-coverage clean verify -DskipTests=false
182179
artifacts:
183180
paths:
184-
# pass the .exec files AND the compiled classes to the next stage
181+
#pass .exec files and compiled classes to the next stage
185182
- "**/target/coverage-reports/jacoco-ut.exec"
186183
- "**/target/classes/"
187184
expire_in: 1 day
@@ -721,7 +718,6 @@ get_jacoco_cli:
721718
key: "jacoco-cli-${JACOCO_VERSION}" #cache per version
722719
paths:
723720
- "jacoco-${JACOCO_VERSION}/" #cache the entire JaCoCo directory
724-
policy: pull #push cache after job, pull before
725721
artifacts:
726722
paths:
727723
- "jacoco-${JACOCO_VERSION}/lib/jacococli.jar"
@@ -737,18 +733,10 @@ generate_jacoco_report:
737733
needs:
738734
- job: run_ut_with_coverage
739735
- job: get_jacoco_cli
740-
cache:
741-
key: "jacoco-cli-${JACOCO_VERSION}"
742-
paths:
743-
- "jacoco-${JACOCO_VERSION}/"
744736
script:
745737
- chmod +x ./generate-jacoco-report.sh
746738
- ./generate-jacoco-report.sh
747739
artifacts:
748-
reports:
749-
coverage_report:
750-
coverage_format: jacoco
751-
path: target/coverage-reports/site/jacoco.xml
752740
paths:
753741
- target/coverage-reports/site/
754742
expire_in: 1 week

0 commit comments

Comments
 (0)