X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6de7a0e75901e65323b77e9cf9b7f67e8c2b8b55..73e97710413bba3ee2ae8baab0537fbd78811016:/tools/jenkins/Coverage.sh diff --git a/tools/jenkins/Coverage.sh b/tools/jenkins/Coverage.sh index bf9a0d5929..4a5d0f4459 100755 --- a/tools/jenkins/Coverage.sh +++ b/tools/jenkins/Coverage.sh @@ -96,7 +96,7 @@ if [ -f Testing/TAG ] ; then ant -f "$WORKSPACE"/tools/jenkins/jacoco.xml -Dexamplesrcdir="$WORKSPACE" -Dbuilddir="$BUILDFOLDER"/"${sourcepath}" -Djarfile="$BUILDFOLDER"/simgrid.jar -Djacocodir=${JACOCO_PATH}/lib #convert jacoco xml reports in cobertura xml reports cover2cover.py "$BUILDFOLDER"/"${sourcepath}"/report.xml .. ../src/bindings/java src/bindings/java > "$BUILDFOLDER"/java_coverage_${i}.xml - #save jacoco xml report as sonar only allows it + #save jacoco xml report as sonar only allows it mv "$BUILDFOLDER"/"${sourcepath}"/report.xml "$BUILDFOLDER"/jacoco_cov_${i}.xml i=$((i + 1)) done