X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4dc49c9d77bc2dcba754a985c4c03e02c4b737fd..4a0bf1b8a5858a914ebf40fd189a83d4fbc5f9de:/tools/jenkins/build.sh diff --git a/tools/jenkins/build.sh b/tools/jenkins/build.sh index 951e7440c2..59bbf3ac22 100755 --- a/tools/jenkins/build.sh +++ b/tools/jenkins/build.sh @@ -125,6 +125,13 @@ case "$build_mode" in ;; esac +if [ "$2" = "" ]; then + branch_name="unknown" +else + branch_name="$2" +fi +echo "Branch built is $branch_name" + NUMBER_OF_PROCESSORS="$(nproc)" || NUMBER_OF_PROCESSORS=1 GENERATOR="Unix Makefiles" @@ -210,7 +217,7 @@ if [ -f Testing/TAG ] ; then mv CTestResults.xml $WORKSPACE fi -if test -n "$INSTALL"; then +if test -n "$INSTALL" && [ ${branch_name} = "origin/master" ] ; then echo "XX" echo "XX Test done. Install everything since it's a regular build, not on a Windows." echo "XX"