Untitled

mail@pastecode.io avatar
unknown
plain_text
9 days ago
461 B
2
Indexable
Never
 for d in ./**/build; do
            if [[ -d "$d" ]]; then
              if [[ -f $d/reports/jacoco/test/jacocoTestReport.xml ]]; then
                mkdir -p $d/site
                pd=$(cd $d; cd ..; pwd)
                python /opt/cover2cover.py $d/reports/jacoco/test/jacocoTestReport.xml $pd/src/main/java/ >  ${WORK_DIR}/target/site/$counter-cobertura.xml || exit 152 
                counter=$(( $counter + 1 ))
              fi
            fi
Leave a Comment