Add scripts to install apex and install netvirt
[releng.git] / jjb / 3rd_party_ci / install-netvirt.sh
index 041d851..96c4b96 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/bash
-
+set -e
 # clone opnfv sdnvpn repo
-git clone https://gerrit.opnfv.org/gerrit/p/sdnvpn.git
-cd sdnvpn
-ls -al
-
-# here is where the script(s) to install netvirt should be executed
+git clone https://gerrit.opnfv.org/gerrit/p/sdnvpn.git $WORKSPACE/sdnvpn
+. $WORKSPACE/sdnvpn/odl-pipeline/odl-pipeline-common.sh
+pushd $LIB
+./odl_reinstaller.sh --cloner-info $CLONER_INFO --odl-artifact $NETVIRT_ARTIFACT
+popd
\ No newline at end of file