From: Augustin Degomme Date: Tue, 31 Jul 2018 20:17:01 +0000 (+0200) Subject: add the dumb script used to update project description on jenkins to the repo X-Git-Tag: v3_21~347 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/df1faf3e08b0a46f32b7c482b9e82e6b7bd0bbf6?ds=sidebyside add the dumb script used to update project description on jenkins to the repo --- diff --git a/tools/jenkins/project_description.sh b/tools/jenkins/project_description.sh new file mode 100755 index 0000000000..5311785371 --- /dev/null +++ b/tools/jenkins/project_description.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +rm consoleText +wget –quiet https://ci.inria.fr/simgrid/job/SimGrid/lastBuild/consoleText >/dev/null 2>&1 +nodes=($(grep -rR "Triggering SimGrid ? Debug," ./consoleText | sed "s/Triggering SimGrid ? Debug,\(.*\)/\1/g")) +nodes=($(for i in "${nodes[@]}"; do echo "$i"; done | sort)) +rm consoleText +echo "
Info on configurations

+ +" + +for node in "${nodes[@]}" +do + wget –quiet https://ci.inria.fr/simgrid/job/SimGrid/lastBuild/build_mode=Debug,node=${node}/consoleText >/dev/null 2>&1 + if [ ! -f consoleText ]; then + echo "file not existing for node ${node}" + exit 1 + fi + boost=$(grep -m 1 "Boost version:" ./consoleText | sed "s/-- Boost version: \(.*\)/\1/g") + compiler=$(grep -m 1 "The C compiler identification" ./consoleText | sed "s/-- The C compiler identification is \(.*\)/\1/g") + java=$(grep -m 1 "Found Java:" ./consoleText | sed "s/-- Found Java.*found suitable version \"\(.*\)\",.*/\1/g") + cmake=$(grep -m 1 "Cmake version" ./consoleText| sed "s/-- Cmake version \(.*\)/\1/g") + os=$(grep -m 1 "OS Version" ./consoleText| sed "s/OS Version : \(.*\)/\1/g") + echo "" + rm consoleText +done +echo " + + +
Name of the BuilderOS versionCompiler name and versionBoost versionJava versionCmake version
$node$os$compiler$boost$java$cmake
travis-linuxUbuntu 14.04 (Trusty) 64 bitsGNU 4.8.41.60.01.8.0.1513.9.2
travis-macMac OSX Sierra (kernel: 16.7.0)AppleClang 8.1.0.80200421.65.11.8.0.1123.9.4
appveyorWindows Server 2012 - VS2015 + mingw64 5.3.0GNU 5.3.01.60.01.8.0.1623.11.3
"