diff --git a/pom.xml b/pom.xml index a09cd325..a69a3ce8 100644 --- a/pom.xml +++ b/pom.xml @@ -251,22 +251,19 @@ echo "------------------------------------------------------------" # Parse Jacoco HTML coverage summary using grep and sed if [ -f target/site/jacoco/index.html ]; then - echo "Element\nInstructions Missed\nInstruction Coverage\nBranches Missed\nBranch Coverage\nComplexity Missed\nComplexity Hit\nLines Missed\nLines Hit\nMethods Missed\nMethods Hit\nClasses Missed\nClasses Hit\n" > /tmp/$$.headers + echo -e "Instructions Missed\nInstruction Coverage\nBranches Missed\nBranch Coverage\nComplexity Missed\nComplexity Hit\nLines Missed\nLines Hit\nMethods Missed\nMethods Hit\nClasses Missed\nClasses Hit\n" > /tmp/$$headers # Extract values from the footer row of the coverage table - grep -A 12 '
' target/site/jacoco/index.html | grep '