Loading .gitlab-ci.yml +3 −3 Original line number Diff line number Diff line Loading @@ -20,9 +20,9 @@ maven-build: script: - mvn verify spring-boot:repackage -B - > "COVERAGE=$(xmllint --html --xpath '//table[@id=\"coveragetable\"]/tfoot//td[@class=\"ctr2\"][1]/text()' target/site/jacoco/index.html)" - 'echo "Coverage: ${COVERAGE}"' COVERAGE=$(xmllint --html --xpath '//table[@id="coveragetable"]/tfoot//td[@class="ctr2"][1]/text()' target/site/jacoco/index.html); echo "Coverage: ${COVERAGE}" after_script: - rm -r .m2/repository/es artifacts: Loading Loading
.gitlab-ci.yml +3 −3 Original line number Diff line number Diff line Loading @@ -20,9 +20,9 @@ maven-build: script: - mvn verify spring-boot:repackage -B - > "COVERAGE=$(xmllint --html --xpath '//table[@id=\"coveragetable\"]/tfoot//td[@class=\"ctr2\"][1]/text()' target/site/jacoco/index.html)" - 'echo "Coverage: ${COVERAGE}"' COVERAGE=$(xmllint --html --xpath '//table[@id="coveragetable"]/tfoot//td[@class="ctr2"][1]/text()' target/site/jacoco/index.html); echo "Coverage: ${COVERAGE}" after_script: - rm -r .m2/repository/es artifacts: Loading