Adding BRANCH_NAME variable for release tests
Change-Id: Ife3e1c727997e0348ed89019b1c8912840e53fe5
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
shift 2
;;
-o|--osmclientversion)
- OSMCLIENT=$2 install_osmclient
+ OSMCLIENT=$2 && install_osmclient
shift 2
;;
-c|--createvim)
eval set -- "$PARAMS"
-if [[ -n "$stackName" ]]; then
- export OSM_HOSTNAME=osm${stackName}_nbi
+if [[ -n "$BRANCH_NAME" ]]; then
+ PACKAGES=$BRANCH_NAME && download_packages
+ OSMCLIENT=$BRANCH_NAME && install_osmclient
fi
if [[ -z "${TEST}" ]]; then