X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/29a3b2869c0075fc75e8ccc66fc1d9c4c8bf6a85..2280a79efb952d660d40da7c7f81c70b651dddf6:/tools/jenkins/project_description.sh
diff --git a/tools/jenkins/project_description.sh b/tools/jenkins/project_description.sh
index c2cf23b6c4..a8979e0e42 100755
--- a/tools/jenkins/project_description.sh
+++ b/tools/jenkins/project_description.sh
@@ -16,23 +16,46 @@ get_cmake(){
grep -m 1 "Cmake version" ./consoleText| sed "s/.*-- Cmake version \([a-zA-Z0-9\.]*\)/\1/g"
}
+get_ns3(){
+ found=$(grep -c "NS-3 found" ./consoleText)
+ if [ $found != 0 ]; then
+ echo "â"
+ else
+ echo ""
+ fi
+}
+
+get_python(){
+ found=$(grep -c "Compile Python bindings .....: ON" ./consoleText)
+ if [ $found != 0 ]; then
+ echo "â"
+ else
+ echo ""
+ fi
+}
+
if [ -f consoleText ]; then
rm consoleText
fi
+
+if [ -z $BUILD_URL ]; then
+ BUILD_URL="https://ci.inria.fr/simgrid/job/SimGrid/lastBuild"
+fi
+
#get the list of nodes on jenkins
-wget --quiet https://ci.inria.fr/simgrid/job/SimGrid/lastBuild/consoleText >/dev/null 2>&1
+wget --quiet ${BUILD_URL}/consoleText >/dev/null 2>&1
nodes=($(grep -rR "Triggering SimGrid ? Debug," ./consoleText | sed "s/Triggering SimGrid ? Debug,\(.*\)/\1/g"| sort))
rm consoleText
echo "
Description of the nodes - Automatically updated by project_description.sh script - Don't edit here
Name of the Builder | OS version | Compiler name and version | Boost version | Java version | Cmake version | ||
Name of the Builder | OS | Compiler | Boost | Java | Cmake | NS3 | Python |
$node | $os | $compiler | $boost | $java | $cmake | ||
$node | $os | $compiler | $boost | $java | $cmake | $ns3 | $py |
$node | $os | $compiler | $boost | $java | $cmake | ||
$node | $os | $compiler | $boost | $java | $cmake | $ns3 | $py |
$node | $os | $compiler | $boost | $java | $cmake | ||
$node | $os | $compiler | $boost | $java | $cmake | $ns3 | $py |