Merge "Move the compass centos job to intel-pod8"
authorJun Li <matthew.lijun@huawei.com>
Fri, 10 Feb 2017 09:20:06 +0000 (09:20 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Fri, 10 Feb 2017 09:20:06 +0000 (09:20 +0000)
jjb/apex/apex-deploy.sh

index 790d2a3..b68225f 100755 (executable)
@@ -62,7 +62,7 @@ fi
 if [ -z "$DEPLOY_SCENARIO" ]; then
   echo "Deploy scenario not set!"
   exit 1
-elif [ "$DEPLOY_SCENARIO" == *gate* ]; then
+elif [[ "$DEPLOY_SCENARIO" == *gate* ]]; then
   echo "Detecting Gating scenario..."
   if [ -z "$GERRIT_EVENT_COMMENT_TEXT" ]; then
     echo "ERROR: Gate job triggered without comment!"