Commit ef110336 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Recupera comando original de análisis de coverage

parent 5935ce72
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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: