Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Poke around trying to get jenkins to display files in src/bindings/java
authordegomme <augustin.degomme@unibas.ch>
Wed, 1 Mar 2017 15:46:42 +0000 (16:46 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Wed, 1 Mar 2017 15:46:51 +0000 (16:46 +0100)
tools/jenkins/Coverage.sh
tools/jenkins/jacoco.xml

index a0f0149..1befd18 100755 (executable)
@@ -72,9 +72,9 @@ if [ -f Testing/TAG ] ; then
   do
     sourcepath=`dirname $file`
     #convert jacoco reports in xml ones
-    ant -f $WORKSPACE/tools/jenkins/jacoco.xml -Dexamplesrcdir=$WORKSPACE/${sourcepath} -Dsimgridsrcdir=$WORKSPACE/src/bindings/java -Dbuilddir=$BUILDFOLDER/${sourcepath} -Djarfile=$BUILDFOLDER/simgrid.jar -Djacocodir=${JACOCO_PATH}/lib
+    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 $WORKSPACE > $WORKSPACE/java_coverage_${i}.xml
+    cover2cover.py $BUILDFOLDER/${sourcepath}/report.xml .. ../src/bindings/java src/bindings/java > $WORKSPACE/java_coverage_${i}.xml
     i=$(($i + 1))
   done
 
index a6a84e8..3d504c3 100644 (file)
@@ -17,7 +17,6 @@
         </classfiles>
         <sourcefiles encoding="UTF-8">
             <fileset dir="${examplesrcdir}"/>
-            <fileset dir="${simgridsrcdir}"/>
         </sourcefiles>
     </structure>