From: degomme Date: Tue, 16 Aug 2016 13:03:50 +0000 (+0200) Subject: Add DynamicAnalysis description as a script. It used to be static in jenkins config. X-Git-Tag: v3_14~540 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/42e5ccb4dc9b63da8309a9ab121a1455a2a4ff24?hp=4af77064e63a230d657657a4164f6ff918e5df54 Add DynamicAnalysis description as a script. It used to be static in jenkins config. Printing it to a file makes it more dynamic, as you can add more infos. --- diff --git a/tools/jenkins/DynamicAnalysis_description.sh b/tools/jenkins/DynamicAnalysis_description.sh new file mode 100644 index 0000000000..1203441951 --- /dev/null +++ b/tools/jenkins/DynamicAnalysis_description.sh @@ -0,0 +1,96 @@ +#!/bin/sh + +set -e + +#get and store valgrind graph for once, as its generation can take a long time +wget https://ci.inria.fr/simgrid/job/SimGrid-DynamicAnalysis-Valgrind/label=simgrid-debian8-64-dynamic-analysis/valgrindResult/graph -O ./valgrind_graph.png + +#find string containing errors and leaked size for valgrind run +wget https://ci.inria.fr/simgrid/job/SimGrid-DynamicAnalysis-Valgrind/label=simgrid-debian8-64-dynamic-analysis/lastCompletedBuild/ +VALGRIND_RES=$(grep href\=\"valgrindResult\" ./index.html | sed -e "s/.*\"valgrindResult\">\(.*lost\)<\/a.*/\1/g") +rm index.html + +#set html description and write it in a file + +echo " +Testing with valgrind and gcov. Click on the graphs for details. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Valgrind Results + + Coverage Results + + Test Results +
+ + + + + + + + + + + +
+ Sloccount Results + + Sloccount Variation + + Test Results : Address Sanitizer (info) +
+ + + + + + + + + + + +
+ Test Results : Thread Sanitizer (info) + + Test Results : Undefined Sanitizer (info) +
+ + + + + + + +
" > ./description.html