Removing _l3 from Apex scenario names in master 69/32269/2
authorDan Radez <dradez@redhat.com>
Thu, 30 Mar 2017 12:46:40 +0000 (08:46 -0400)
committerDan Radez <dradez@redhat.com>
Thu, 30 Mar 2017 12:46:40 +0000 (08:46 -0400)
Change-Id: I9169434d3dc62c911d351f8238af2c5daf314d99
Signed-off-by: Dan Radez <dradez@redhat.com>
jjb/apex/apex-deploy.sh

index 6343b83..1e04c1f 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