X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fxci%2Fxci-start-new-vm.sh;h=79b6a785a1a630072ea779f8bcada3cb48275bfa;hb=36f19be00474845b11f3c689a6920a10c535e509;hp=e68b931dbd9ab4bdc6962df7b46e4f026361e7d2;hpb=5ce903b099b47ffca3b50323e2396517a098bef7;p=releng.git diff --git a/jjb/xci/xci-start-new-vm.sh b/jjb/xci/xci-start-new-vm.sh index e68b931db..79b6a785a 100755 --- a/jjb/xci/xci-start-new-vm.sh +++ b/jjb/xci/xci-start-new-vm.sh @@ -67,15 +67,15 @@ export CI_LOOP=$CI_LOOP export BUILD_TAG=$BUILD_TAG export NODE_NAME=$NODE_NAME -if [[ ! -z ${WORKSPACE+x} && $GERRIT_PROJECT != "releng-xci" ]]; then - export XCI_ANSIBLE_PARAMS="-e /home/devuser/releng-xci/scenario_overrides.yml" +if [[ $GERRIT_PROJECT != "releng-xci" ]]; then + export XCI_ANSIBLE_PARAMS="-e @/home/devuser/releng-xci/scenario_overrides.yml" fi 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: