summaryrefslogtreecommitdiffstats
path: root/jjb/3rd_party_ci/create-apex-vms.sh
blob: a076dd08458ff9a46795fe8d5e6be855095a8b72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -e

# wipe the WORKSPACE
/bin/rm -rf $WORKSPACE/*

# 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
popd