X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2F3rd_party_ci%2Fcreate-apex-vms.sh;h=0744ac89a48ec32a990cca38e255dc31243faaa6;hb=fa61619e64d56bee97df49bc0a80fa6bc7c5da79;hp=cb742712b2d2d92402aad631bf4cd1975881d26f;hpb=2a8bc959b53aa17694afdf7d7bb0c7295a906582;p=releng.git diff --git a/jjb/3rd_party_ci/create-apex-vms.sh b/jjb/3rd_party_ci/create-apex-vms.sh index cb742712b..0744ac89a 100755 --- a/jjb/3rd_party_ci/create-apex-vms.sh +++ b/jjb/3rd_party_ci/create-apex-vms.sh @@ -1,8 +1,12 @@ #!/bin/bash +set -o errexit +set -o nounset +set -o pipefail # clone opnfv sdnvpn repo -git clone https://gerrit.opnfv.org/gerrit/p/sdnvpn.git -cd sdnvpn -ls -al +git clone https://gerrit.opnfv.org/gerrit/p/sdnvpn.git $WORKSPACE/sdnvpn -# here is where the script(s) to bring up apex vms should be executed +. $WORKSPACE/sdnvpn/odl-pipeline/odl-pipeline-common.sh +pushd $LIB +./test_environment.sh --env-number $APEX_ENV_NUMBER --cloner-info $CLONER_INFO --snapshot-disks $SNAPSHOT_DISKS --vjump-hosts $VIRTUAL_JUMPHOSTS +popd