From: Augustin Degomme Date: Wed, 23 Jan 2019 14:38:33 +0000 (+0100) Subject: coverage : avoid matching cobertura pattern with jacoco files X-Git-Tag: v3_22~496 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/dc76978b5d38ebc9ec52ed90a929a68591e599cd coverage : avoid matching cobertura pattern with jacoco files --- diff --git a/tools/jenkins/Coverage.sh b/tools/jenkins/Coverage.sh index 80473cfbd3..c9bb23bdae 100755 --- a/tools/jenkins/Coverage.sh +++ b/tools/jenkins/Coverage.sh @@ -84,7 +84,7 @@ if [ -f Testing/TAG ] ; then #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 - mv $BUILDFOLDER/${sourcepath}/report.xml $BUILDFOLDER/jacoco_coverage_${i}.xml + mv $BUILDFOLDER/${sourcepath}/report.xml $BUILDFOLDER/jacoco_cov_${i}.xml i=$((i + 1)) done