X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/235a9333b84d39c0397ec9ddc248d141eefd89a2..8bf7ffc43ad5507982e924a7f05bbb13c89965cb:/tools/jenkins/project_description.sh diff --git a/tools/jenkins/project_description.sh b/tools/jenkins/project_description.sh index 74196fface..8af5e8d804 100755 --- a/tools/jenkins/project_description.sh +++ b/tools/jenkins/project_description.sh @@ -13,25 +13,20 @@ get_compiler(){ grep -m 1 "The C compiler identification" ./consoleText | sed "s/.*-- The C compiler identification is \([a-zA-Z0-9\.]*\)/\1/g" } -get_java(){ - grep -m 1 "Found Java:" ./consoleText | sed "s/.*-- Found Java.*found suitable version \"\([a-zA-Z0-9\.]*\)\",.*/\1/g" -} - get_cmake(){ grep -m 1 "Cmake version" ./consoleText| sed "s/.*-- Cmake version \([a-zA-Z0-9\.]*\)/\1/g" } get_eigen3(){ - found=$(grep -c "Found Eigen3:" ./consoleText) - if [ "$found" != 0 ]; then - echo "â" - else - echo "" - fi + sed -n 's/.* Eigen3 library \.\+: \([^ ]*\) in .*/\1/p;T;q' ./consoleText +} + +get_json(){ + sed -n 's/.* JSON library \.\+: \([^ ]*\) in .*/\1/p;T;q' ./consoleText } get_ns3(){ - grep -m 1 "ns-3 found (v3.[0-9]*; incl:" ./consoleText | sed "s/.*-- ns-3 found .v\(3.[0-9]*\); incl:.*/\1/g" + sed -n 's/.*-- ns-3 found (v\(3[-.0-9a-z]\+\).*/\1/p;T;q' ./consoleText } get_python(){ @@ -136,15 +131,15 @@ function sortTable(n, type) {