Merge "Removing _l3 from Apex scenario names in master"
authorTim Rozet <trozet@redhat.com>
Mon, 3 Apr 2017 16:08:51 +0000 (16:08 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Mon, 3 Apr 2017 16:08:51 +0000 (16:08 +0000)
jjb/apex/apex-deploy.sh

index a86776b..4b64fd1 100755 (executable)
@@ -59,6 +59,12 @@ else
     fi
 fi
 
+# rename odl_l3 to odl only for master
+# this can be removed once all the odl_l3 references
+# are updated to odl after the danube jobs are removed
+if [[ "$BUILD_DIRECTORY" == *master* ]]; then
+    DEPLOY_SCENARIO=${DEPLOY_SCENARIO/odl_l3/odl}
+fi
 if [ -z "$DEPLOY_SCENARIO" ]; then
   echo "Deploy scenario not set!"
   exit 1