Loading .gitlab-ci.yml +2 −4 Original line number Diff line number Diff line Loading @@ -19,10 +19,8 @@ maven-build: - .m2/repository/ 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 +2 −4 Original line number Diff line number Diff line Loading @@ -19,10 +19,8 @@ maven-build: - .m2/repository/ 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