Merge "xci: Log functest-kubernetes.log to console"
authorFatih Degirmenci <fdegir@gmail.com>
Thu, 12 Apr 2018 08:54:07 +0000 (08:54 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 12 Apr 2018 08:54:07 +0000 (08:54 +0000)
jjb/xci/xci-set-scenario.sh

index 8ef5254..c28093d 100755 (executable)
@@ -114,7 +114,7 @@ function determine_generic_scenario() {
     done
     # For all other changes, we only need to set a default scenario if it's not set already
     if git diff HEAD^..HEAD --name-only | grep -q -v 'xci/installer\|xci/scenario'; then
-         [[ ${#DEPLOY_SCENARIO[@]} -gt 0 ]] && DEPLOY_SCENARIO[${#DEPLOY_SCENARIO[@]}]='os-nosdn-nofeature'
+         [[ ${#DEPLOY_SCENARIO[@]} -eq 0 ]] && DEPLOY_SCENARIO[${#DEPLOY_SCENARIO[@]}]='os-nosdn-nofeature'
     fi
 
     # extract releng-xci sha