+ 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
+ i=$((i + 1))
+ done
+
+ cd $WORKSPACE
+
+ files=$( find . -size +1c -name ".coverage" )
+ i=0
+ for file in $files
+ do
+ sourcepath=$( dirname $file )
+ #convert python coverage reports in xml ones
+ cd $sourcepath
+ /usr/bin/python3-coverage xml -i -o $BUILDFOLDER/python_coverage_${i}.xml
+ cd $WORKSPACE