A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
project description: show me the ns-3 version
[simgrid.git]
/
tools
/
jenkins
/
project_description.sh
diff --git
a/tools/jenkins/project_description.sh
b/tools/jenkins/project_description.sh
index
90880da
..
1a26764
100755
(executable)
--- a/
tools/jenkins/project_description.sh
+++ b/
tools/jenkins/project_description.sh
@@
-22,12
+22,13
@@
get_cmake(){
}
get_ns3(){
}
get_ns3(){
- found=$(grep -c "ns-3 found" ./consoleText)
- if [ "$found" != 0 ]; then
- echo "✔"
- else
- echo ""
- fi
+ grep -m 1 "ns-3 found (v3.[0-9]*; incl:"|sed "s/.*-- ns-3 found .v\(3.[0-9]*\); incl:.*/\1/g"
+# found=$(grep -c "ns-3 found" ./consoleText)
+# if [ "$found" != 0 ]; then
+# echo "✔"
+# else
+# echo ""
+# fi
}
get_python(){
}
get_python(){