X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2F3rd_party_ci%2Fcreate-apex-vms.sh;h=0744ac89a48ec32a990cca38e255dc31243faaa6;hb=c6cf2ca62df40f902d8a51308d808474fcdaf601;hp=11a35acf5eaac1865634a70201c36171d95dac14;hpb=e9e33d3cf0f6e9b555d633611645f41619a3d4e5;p=releng.git diff --git a/jjb/3rd_party_ci/create-apex-vms.sh b/jjb/3rd_party_ci/create-apex-vms.sh index 11a35acf5..0744ac89a 100755 --- a/jjb/3rd_party_ci/create-apex-vms.sh +++ b/jjb/3rd_party_ci/create-apex-vms.sh @@ -1,11 +1,11 @@ #!/bin/bash -set -e - -# wipe the WORKSPACE -/bin/rm -rf $WORKSPACE +set -o errexit +set -o nounset +set -o pipefail # clone opnfv sdnvpn repo git clone https://gerrit.opnfv.org/gerrit/p/sdnvpn.git $WORKSPACE/sdnvpn + . $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