Merge "jjb: xci: Do not check for the WORKSPACE variable"
authorFatih Degirmenci <fdegir@gmail.com>
Thu, 17 May 2018 09:39:20 +0000 (09:39 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 17 May 2018 09:39:20 +0000 (09:39 +0000)
jjb/xci/xci-start-new-vm.sh

index 1749328..79b6a78 100755 (executable)
@@ -67,7 +67,7 @@ export CI_LOOP=$CI_LOOP
 export BUILD_TAG=$BUILD_TAG
 export NODE_NAME=$NODE_NAME
 
-if [[ ! -z ${WORKSPACE+x} && $GERRIT_PROJECT != "releng-xci" ]]; then
+if [[ $GERRIT_PROJECT != "releng-xci" ]]; then
     export XCI_ANSIBLE_PARAMS="-e @/home/devuser/releng-xci/scenario_overrides.yml"
 fi
 
@@ -75,7 +75,7 @@ cd xci
 ./xci-deploy.sh | ts
 EOF
 
-if [[ ! -z ${WORKSPACE+x} && $GERRIT_PROJECT != "releng-xci" ]]; then
+if [[ $GERRIT_PROJECT != "releng-xci" ]]; then
     cat > scenario_overrides.yml <<-EOF
 ---
 xci_scenarios_overrides: