Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Apex: Create Hunter branch
[releng.git]
/
jjb
/
3rd_party_ci
/
create-apex-vms.sh
diff --git
a/jjb/3rd_party_ci/create-apex-vms.sh
b/jjb/3rd_party_ci/create-apex-vms.sh
index
cb74271
..
0744ac8
100755
(executable)
--- a/
jjb/3rd_party_ci/create-apex-vms.sh
+++ b/
jjb/3rd_party_ci/create-apex-vms.sh
@@
-1,8
+1,12
@@
#!/bin/bash
#!/bin/bash
+set -o errexit
+set -o nounset
+set -o pipefail
# clone opnfv sdnvpn repo
# 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